Skip to content

该跟上babel 7+了哈 #46

Description

@AM-young-fun

如题。
在babel 7下,会生成没法在iOS 8下运行不动的代码。
目前我看到的报错是:

<Weex>[error]WXMonitor.m:250, [WX_KEY_EXCEPTION_WXBRIDGE] [undefined:5:undefined] SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode.
Function@[native code]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions