@dolphinweex/weex-vue-render 0.2.40 → 0.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.common.js +5 -0
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -11512,8 +11512,13 @@ var directives = {
|
|
|
11512
11512
|
};
|
|
11513
11513
|
|
|
11514
11514
|
var preInit = weex.init;
|
|
11515
|
+
var weexInitialized = false;
|
|
11515
11516
|
|
|
11516
11517
|
weex.init = function () {
|
|
11518
|
+
// 防止重复init
|
|
11519
|
+
if (weexInitialized) return;
|
|
11520
|
+
|
|
11521
|
+
weexInitialized = true
|
|
11517
11522
|
preInit.apply(weex, arguments);
|
|
11518
11523
|
var plugins = components.concat(modules$1);
|
|
11519
11524
|
|
package/package.json
CHANGED