You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by "Adam Feng (JIRA)" <ji...@apache.org> on 2017/10/11 12:57:00 UTC
[jira] [Assigned] (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 ]
Adam Feng reassigned WEEX-78:
-----------------------------
Assignee: Hanks Zhang (was: sospartan)
> 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: Hanks Zhang
> 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)