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 2018/08/02 08:58:00 UTC
[jira] [Resolved] (WEEX-445) export requireModule to global
[ https://issues.apache.org/jira/browse/WEEX-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hanks Zhang resolved WEEX-445.
------------------------------
Resolution: Resolved
> export requireModule to global
> ------------------------------
>
> Key: WEEX-445
> URL: https://issues.apache.org/jira/browse/WEEX-445
> Project: Weex
> Issue Type: New Feature
> Components: JSFM
> Reporter: Zhenfei You
> Assignee: Hanks Zhang
> Priority: Major
>
> Export requireModule to global, so we can use
> {code:javascript}
> var navigator = requireModule('navigator')
> {code}
> it is equal to
> {code:javascript}
> var navigator = weex.requireModule('navigator')
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)