Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/vuePublic

[weex] Adjust the weex platform entry file to fit the new weex runtime#6620

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
yyx990803 merged 6 commits intovuejs:devfromHanks10100:weex-refactor
Sep 18, 2017

Conversation

Hanks10100
Copy link
Contributor

These changes will only affect the Weex platform, and will not affect any features on the web.

Remove thenew Function hack for V8

Remove thecallFunctionNative method and thecompileBundle API which is provided by modified V8.
In order to maintain the consistency of the js engine, Weex also uses JSC on Android. The legacy hack for V8 engine should be removed.

Move shared APIs to Weex runtime

Modules and components should be registered in weex runtime, not in each front-end frameworks. The
registerModules,registerComponents,weex.supports andweex.requireModule APIs is moved to
Weex runtime which is in thehttps://github.com/apache/incubator-weex .

Usedocument instead ofrenderer

Usingdocument is more standard than usingrenderer. ThecreateElement API support to create customWeexElement now.

Test cases

Weex's test cases have also been adjusted to fit the newweex-js-runtime architecture.

yyx990803and others added5 commitsAugust 30, 2017 00:54
Remove the `callFunctionNative` method and `compileBundle`, which is provided by modified V8. Inorder to maintain the consistency of the js engine, Weex also use JSC on Android. The legacy hackfor V8 engine should be removed.
Modules and components should be registered in weex runtime, not the specific framework. The`registerModules`, `registerComponents`, `weex.supports` and `weex.requireModule` api is moved toweex runtime, which is in the "apache/incubator-weex" repo.
@Hanks10100Hanks10100force-pushed theweex-refactor branch 2 times, most recently from65f9c19 to2639d70CompareSeptember 16, 2017 12:53
@yyx990803yyx990803 merged commit2deda3d intovuejs:devSep 18, 2017
@Hanks10100Hanks10100 deleted the weex-refactor branchSeptember 19, 2017 09:21
ztlevi pushed a commit to ztlevi/vue that referenced this pull requestFeb 14, 2018
…ex runtime (vuejs#6620)* trim trailing whitespace* revert(weex): remove the new Function hack for V8, as Weex uses JSC nowRemove the `callFunctionNative` method and `compileBundle`, which is provided by modified V8. Inorder to maintain the consistency of the js engine, Weex also use JSC on Android. The legacy hackfor V8 engine should be removed.* refactor(weex): move module and component apis to weex runtimeModules and components should be registered in weex runtime, not the specific framework. The`registerModules`, `registerComponents`, `weex.supports` and `weex.requireModule` api is moved toweex runtime, which is in the "apache/incubator-weex" repo.* test(weex): refactor the test cases to fit the new weex-js-runtime* fix(weex): use document instead of renderer to create Element
f2009 pushed a commit to f2009/vue that referenced this pull requestJan 25, 2019
…ex runtime (vuejs#6620)* trim trailing whitespace* revert(weex): remove the new Function hack for V8, as Weex uses JSC nowRemove the `callFunctionNative` method and `compileBundle`, which is provided by modified V8. Inorder to maintain the consistency of the js engine, Weex also use JSC on Android. The legacy hackfor V8 engine should be removed.* refactor(weex): move module and component apis to weex runtimeModules and components should be registered in weex runtime, not the specific framework. The`registerModules`, `registerComponents`, `weex.supports` and `weex.requireModule` api is moved toweex runtime, which is in the "apache/incubator-weex" repo.* test(weex): refactor the test cases to fit the new weex-js-runtime* fix(weex): use document instead of renderer to create Element
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Hanks10100@yyx990803

[8]ページ先頭

©2009-2025 Movatter.jp