You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ta...@apache.org on 2017/06/04 06:05:08 UTC
[06/20] incubator-weex git commit: * [html5] update
* [html5] update
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/e8e286be
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/e8e286be
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/e8e286be
Branch: refs/heads/0.13-dev
Commit: e8e286be5bc50ef7213389ede6e695f1150a13c6
Parents: e752d93
Author: MrRaindrop <te...@gmail.com>
Authored: Thu May 25 15:29:54 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Thu May 25 15:29:54 2017 +0800
----------------------------------------------------------------------
html5/render/vue/index.js | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e8e286be/html5/render/vue/index.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/index.js b/html5/render/vue/index.js
index 3cec4ca..9c3c38c 100644
--- a/html5/render/vue/index.js
+++ b/html5/render/vue/index.js
@@ -32,6 +32,8 @@ import { base, style } from './mixins'
let _inited = false
function init (Vue/*, options = {}*/) {
if (_inited) { return }
+ _inited = true
+
setVue(Vue)
Vue.prototype.$getConfig = () => {