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

xingZhang resolved WEEX-377.
----------------------------
    Resolution: Fixed

> Rax  升级对原有 JSservice 约定组件的支持,小程序路由跳转移除 $navTo 逻辑
> ------------------------------------------------
>
>                 Key: WEEX-377
>                 URL: https://issues.apache.org/jira/browse/WEEX-377
>             Project: Weex
>          Issue Type: Improvement
>          Components: JSFM
>            Reporter: yacheng
>            Assignee: Hanks Zhang
>            Priority: Major
>
> Rax  升级对原有 JSservice 约定组件的支持,小程序路由跳转移除 $navTo 逻辑
>  
> JSservice 相关改动逻辑如下
>  let builtinGlobals = {};
>  let builtinModules = {};
>  try {
>  builtinGlobals = __weex_config__.services.builtinGlobals;
>  // Modules should wrap as module factory format
>  builtinModules = __weex_config__.services.builtinModules;
>  } catch (e) {}
> Object.assign(window, builtinGlobals);
> const moduleFactories = \{...ModuleFactories, ...builtinModules};
> genBuiltinModules(
>  modules,
>  moduleFactories,
>  window
>  );



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to