@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.
@@ -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
@@ -49,5 +49,5 @@
49
49
  "type": "git",
50
50
  "url": "git+ssh://git@github.com/weexteam/weex-vue-render.git"
51
51
  },
52
- "version": "0.2.40"
52
+ "version": "0.2.41"
53
53
  }