GitHub user Hanks10100 opened a pull request:

    https://github.com/apache/incubator-weex/pull/785

    [WEEX-17] Abstract "weex" variable for each js framework

    Fix [WEEX-17](https://issues.apache.org/jira/browse/WEEX-17).
    
    Pass the `weex` variable to each front-end framework in the last argument 
of `createInstance`. Its API is defined 
[here](http://weex.apache.org/references/weex-variable.html).
    
    Both Vue and Rax can use the `weex` variable with the same implementation. 
Currently, Vue passed `weex` variable to the js bundle, but Rax doesn't pass it 
yet.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Hanks10100/incubator-weex jsfm-feature-weex

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-weex/pull/785.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #785
    
----
commit 48ccea1c4edc02b7af80e81f5639243776bef077
Author: Hanks <[email protected]>
Date:   2017-10-11T09:19:48Z

    + [jsfm] add weex variable api in runtime

----


---

Reply via email to