Commit Graph

3 Commits

Author SHA1 Message Date
Hanks
f319bef532 chore: update weex flow type annotations (#7322) 2017-12-26 21:33:48 -05:00
Hanks
472a2896bd feat(weex): adjust framework entry APIs and add flow annotations (#7272)
1. Remove the "init", "reset", "getRoot" and "receiveTasks" APIs, which
are already implemented in the new version of "weex-js-runtime".
2. Use "createInstanceContext" instead of "createInstance". Vue only
needs to prepare the instance context and no longer execute the js
code. The js code will be executed by native.
3. Add flow type declarations and annotations.
2017-12-19 15:47:53 -05:00
Evan You
b06d09f274 types: adjust weex flow types 2017-12-18 20:57:18 -05:00