We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8146c0 commit f975facCopy full SHA for f975fac
src/platforms/weex/entry-framework.js
@@ -94,6 +94,8 @@ export function createInstance (
94
weex: weexInstanceVar
95
}, timerAPIs, env.services)
96
97
+ appCode = `(function(global){ \n${appCode}\n })(Object.create(this))`
98
+
99
if (!callFunctionNative(instanceVars, appCode)) {
100
// If failed to compile functionBody on native side,
101
// fallback to 'callFunction()'.
0 commit comments