You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "Hanks Zhang (JIRA)" <ji...@apache.org> on 2017/10/09 08:25:00 UTC

[jira] [Updated] (WEEX-78) The ES7 methods should be removed to improve compatibility

     [ https://issues.apache.org/jira/browse/WEEX-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hanks Zhang updated WEEX-78:
----------------------------
    Summary: The ES7 methods should be removed to improve compatibility  (was: The ES7 methods should be remove to improve compatibility)

> The ES7 methods should be removed to improve compatibility
> ----------------------------------------------------------
>
>                 Key: WEEX-78
>                 URL: https://issues.apache.org/jira/browse/WEEX-78
>             Project: Weex
>          Issue Type: Bug
>          Components: JSFM
>            Reporter: Hanks Zhang
>            Assignee: sospartan
>              Labels: patch
>
> The implementation of event bubbling in JSF is using `Array.prototype.includes` API [1] which is defined in ECMAScript 2016 (ES7). This method is not compatible with low version js engines and should be replaced.
> [1] https://github.com/apache/incubator-weex/blob/4bc653653c1460dcad0642ef654e593c89ebaaf1/html5/runtime/vdom/Element.js#L412



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)