You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2017/03/29 12:13:53 UTC
[26/39] incubator-weex git commit: * [ios] update bundle js in ios
playground.
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/script-component.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/script-component.js b/ios/playground/bundlejs/vue/syntax/script-component.js
index 5502c08..c95172d 100644
--- a/ios/playground/bundlejs/vue/syntax/script-component.js
+++ b/ios/playground/bundlejs/vue/syntax/script-component.js
@@ -51,10 +51,10 @@
var __vue_styles__ = []
/* script */
- __vue_exports__ = __webpack_require__(569)
+ __vue_exports__ = __webpack_require__(593)
/* template */
- var __vue_template__ = __webpack_require__(574)
+ var __vue_template__ = __webpack_require__(598)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -66,15 +66,18 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/script-component.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/script-component.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -83,7 +86,7 @@
/***/ },
-/***/ 569:
+/***/ 593:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -111,27 +114,27 @@
};
},
components: {
- item: __webpack_require__(570)
+ item: __webpack_require__(594)
}
};
/***/ },
-/***/ 570:
+/***/ 594:
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(571)
+ __vue_styles__.push(__webpack_require__(595)
)
/* script */
- __vue_exports__ = __webpack_require__(572)
+ __vue_exports__ = __webpack_require__(596)
/* template */
- var __vue_template__ = __webpack_require__(573)
+ var __vue_template__ = __webpack_require__(597)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -143,22 +146,26 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/include/sub.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/include/sub.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-7967da16"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
/***/ },
-/***/ 571:
+/***/ 595:
/***/ function(module, exports) {
module.exports = {
@@ -170,7 +177,7 @@
/***/ },
-/***/ 572:
+/***/ 596:
/***/ function(module, exports) {
'use strict';
@@ -193,29 +200,34 @@
/***/ },
-/***/ 573:
+/***/ 597:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('text', {
+ return _c('text', {
staticClass: ["item-txt"]
- }, [_vm._s(_vm.title)])
+ }, [_vm._v(_vm._s(_vm.title))])
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
-/***/ 574:
+/***/ 598:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('list', [_vm._l((_vm.items), function(item) {
- return _h('cell', [_h('text', [_vm._s(item.title)]), _h('item', {
+ return _c('list', _vm._l((_vm.items), function(item) {
+ return _c('cell', {
+ appendAsTree: true,
+ attrs: {
+ "append": "tree"
+ }
+ }, [_c('text', [_vm._v(_vm._s(item.title))]), _c('item', {
attrs: {
"title": 'a'
}
- })])
- })])
+ })], 1)
+ }))
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/script-data.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/script-data.js b/ios/playground/bundlejs/vue/syntax/script-data.js
index 6f35add..85a3e55 100644
--- a/ios/playground/bundlejs/vue/syntax/script-data.js
+++ b/ios/playground/bundlejs/vue/syntax/script-data.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(575)
+ __vue_styles__.push(__webpack_require__(599)
)
/* script */
- __vue_exports__ = __webpack_require__(576)
+ __vue_exports__ = __webpack_require__(600)
/* template */
- var __vue_template__ = __webpack_require__(577)
+ var __vue_template__ = __webpack_require__(601)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -70,15 +70,19 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/script-data.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/script-data.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-28c17c88"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -87,7 +91,7 @@
/***/ },
-/***/ 575:
+/***/ 599:
/***/ function(module, exports) {
module.exports = {
@@ -98,7 +102,7 @@
/***/ },
-/***/ 576:
+/***/ 600:
/***/ function(module, exports) {
'use strict';
@@ -189,23 +193,23 @@
/***/ },
-/***/ 577:
+/***/ 601:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', {
+ return _c('div', {
on: {
"click": _vm.update
}
- }, [_h('text', {
+ }, [_c('text', {
staticClass: ["title"]
- }, [_vm._s(_vm.firstName)]), _h('text', {
+ }, [_vm._v(_vm._s(_vm.firstName))]), _c('text', {
staticClass: ["title"]
- }, [_vm._s(_vm.lastName)]), _h('text', {
+ }, [_vm._v(_vm._s(_vm.lastName))]), _c('text', {
staticClass: ["title"]
- }, [_vm._s(_vm.fullName)]), _h('text', {
+ }, [_vm._v(_vm._s(_vm.fullName))]), _c('text', {
staticClass: ["title"]
- }, [_vm._s(_vm.today)])])
+ }, [_vm._v(_vm._s(_vm.today))])])
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/script-events.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/script-events.js b/ios/playground/bundlejs/vue/syntax/script-events.js
index b16b272..51bb4e1 100644
--- a/ios/playground/bundlejs/vue/syntax/script-events.js
+++ b/ios/playground/bundlejs/vue/syntax/script-events.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(578)
+ __vue_styles__.push(__webpack_require__(602)
)
/* script */
- __vue_exports__ = __webpack_require__(579)
+ __vue_exports__ = __webpack_require__(603)
/* template */
- var __vue_template__ = __webpack_require__(580)
+ var __vue_template__ = __webpack_require__(604)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -70,15 +70,19 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/script-events.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/script-events.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-2ce364f7"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -87,7 +91,7 @@
/***/ },
-/***/ 578:
+/***/ 602:
/***/ function(module, exports) {
module.exports = {
@@ -98,7 +102,7 @@
/***/ },
-/***/ 579:
+/***/ 603:
/***/ function(module, exports) {
'use strict';
@@ -144,15 +148,15 @@
/***/ },
-/***/ 580:
+/***/ 604:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', [_vm._l((_vm.list), function(value) {
- return _h('text', {
+ return _c('div', _vm._l((_vm.list), function(value) {
+ return _c('text', {
staticClass: ["title"]
- }, [_vm._s(value)])
- })])
+ }, [_vm._v(_vm._s(value))])
+ }))
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/script-instance.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/script-instance.js b/ios/playground/bundlejs/vue/syntax/script-instance.js
index 489bba9..c8a3f9a 100644
--- a/ios/playground/bundlejs/vue/syntax/script-instance.js
+++ b/ios/playground/bundlejs/vue/syntax/script-instance.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(581)
+ __vue_styles__.push(__webpack_require__(605)
)
/* script */
- __vue_exports__ = __webpack_require__(582)
+ __vue_exports__ = __webpack_require__(606)
/* template */
- var __vue_template__ = __webpack_require__(583)
+ var __vue_template__ = __webpack_require__(607)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -70,15 +70,19 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/script-instance.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/script-instance.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-6a09a0f3"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -87,7 +91,7 @@
/***/ },
-/***/ 581:
+/***/ 605:
/***/ function(module, exports) {
module.exports = {
@@ -98,7 +102,7 @@
/***/ },
-/***/ 582:
+/***/ 606:
/***/ function(module, exports) {
'use strict';
@@ -160,7 +164,7 @@
// this.$refs['sub'].$emit('custom')
// // find element
- // var dom = __weex_require_module__('dom')
+ // var dom = weex.requireModule('dom')
// dom.scrollToElement(this.$el('title'), {offset: 0})
}
},
@@ -176,18 +180,18 @@
/***/ },
-/***/ 583:
+/***/ 607:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _vm._m(0)
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', [_h('text', {
+ return _c('div', [_c('text', {
staticClass: ["title"],
attrs: {
"id": "title"
}
- }, ["Please check out the source code."])])
+ }, [_vm._v("Please check out the source code.")])])
}]}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/script-lifecycle.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/script-lifecycle.js b/ios/playground/bundlejs/vue/syntax/script-lifecycle.js
index f753203..f2c8ecd 100644
--- a/ios/playground/bundlejs/vue/syntax/script-lifecycle.js
+++ b/ios/playground/bundlejs/vue/syntax/script-lifecycle.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(584)
+ __vue_styles__.push(__webpack_require__(608)
)
/* script */
- __vue_exports__ = __webpack_require__(585)
+ __vue_exports__ = __webpack_require__(609)
/* template */
- var __vue_template__ = __webpack_require__(586)
+ var __vue_template__ = __webpack_require__(610)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -70,15 +70,19 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/script-lifecycle.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/script-lifecycle.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-4a5eb17c"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -87,7 +91,7 @@
/***/ },
-/***/ 584:
+/***/ 608:
/***/ function(module, exports) {
module.exports = {
@@ -98,7 +102,7 @@
/***/ },
-/***/ 585:
+/***/ 609:
/***/ function(module, exports) {
'use strict';
@@ -138,15 +142,15 @@
/***/ },
-/***/ 586:
+/***/ 610:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', [_vm._l((_vm.list), function(value) {
- return _h('text', {
+ return _c('div', _vm._l((_vm.list), function(value) {
+ return _c('text', {
staticClass: ["title"]
- }, [_vm._s(value)])
- })])
+ }, [_vm._v(_vm._s(value))])
+ }))
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/script-module.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/script-module.js b/ios/playground/bundlejs/vue/syntax/script-module.js
index 5d6388d..2e7b024 100644
--- a/ios/playground/bundlejs/vue/syntax/script-module.js
+++ b/ios/playground/bundlejs/vue/syntax/script-module.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(587)
+ __vue_styles__.push(__webpack_require__(611)
)
/* script */
- __vue_exports__ = __webpack_require__(588)
+ __vue_exports__ = __webpack_require__(612)
/* template */
- var __vue_template__ = __webpack_require__(589)
+ var __vue_template__ = __webpack_require__(613)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -70,15 +70,19 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/script-module.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/script-module.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-85636e6c"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -87,7 +91,7 @@
/***/ },
-/***/ 587:
+/***/ 611:
/***/ function(module, exports) {
module.exports = {
@@ -103,7 +107,7 @@
/***/ },
-/***/ 588:
+/***/ 612:
/***/ function(module, exports) {
'use strict';
@@ -124,7 +128,7 @@
//
//
- var modal = __weex_require_module__('modal');
+ var modal = weex.requireModule('modal');
module.exports = {
methods: {
test: function test() {
@@ -138,16 +142,16 @@
/***/ },
-/***/ 589:
+/***/ 613:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', [_h('text', {
+ return _c('div', [_c('text', {
staticClass: ["btn"],
on: {
"click": _vm.test
}
- }, ["Toast!"])])
+ }, [_vm._v("Toast!")])])
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/script-options.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/script-options.js b/ios/playground/bundlejs/vue/syntax/script-options.js
index e028972..abb71a2 100644
--- a/ios/playground/bundlejs/vue/syntax/script-options.js
+++ b/ios/playground/bundlejs/vue/syntax/script-options.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(590)
+ __vue_styles__.push(__webpack_require__(614)
)
/* script */
- __vue_exports__ = __webpack_require__(591)
+ __vue_exports__ = __webpack_require__(615)
/* template */
- var __vue_template__ = __webpack_require__(592)
+ var __vue_template__ = __webpack_require__(616)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -70,15 +70,19 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/script-options.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/script-options.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-22006d30"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -87,7 +91,7 @@
/***/ },
-/***/ 590:
+/***/ 614:
/***/ function(module, exports) {
module.exports = {
@@ -98,7 +102,7 @@
/***/ },
-/***/ 591:
+/***/ 615:
/***/ function(module, exports) {
'use strict';
@@ -165,15 +169,15 @@
/***/ },
-/***/ 592:
+/***/ 616:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return _vm._m(0)
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', [_h('text', {
+ return _c('div', [_c('text', {
staticClass: ["title"]
- }, ["Please check out the source code."])])
+ }, [_vm._v("Please check out the source code.")])])
}]}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/template-class.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/template-class.js b/ios/playground/bundlejs/vue/syntax/template-class.js
index 32ac703..27ce4dc 100644
--- a/ios/playground/bundlejs/vue/syntax/template-class.js
+++ b/ios/playground/bundlejs/vue/syntax/template-class.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(593)
+ __vue_styles__.push(__webpack_require__(617)
)
/* script */
- __vue_exports__ = __webpack_require__(594)
+ __vue_exports__ = __webpack_require__(618)
/* template */
- var __vue_template__ = __webpack_require__(595)
+ var __vue_template__ = __webpack_require__(619)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -70,15 +70,19 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/template-class.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/template-class.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-3f026779"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -87,7 +91,7 @@
/***/ },
-/***/ 593:
+/***/ 617:
/***/ function(module, exports) {
module.exports = {
@@ -101,7 +105,7 @@
/***/ },
-/***/ 594:
+/***/ 618:
/***/ function(module, exports) {
'use strict';
@@ -138,21 +142,21 @@
/***/ },
-/***/ 595:
+/***/ 619:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', {
+ return _c('div', {
on: {
"click": _vm.update
}
- }, [_h('text', {
+ }, [_c('text', {
staticClass: ["a"]
- }, ["Hello"]), _h('text', {
+ }, [_vm._v("Hello")]), _c('text', {
staticClass: ["b"]
- }, ["Hello"]), _h('text', {
+ }, [_vm._v("Hello")]), _c('text', {
class: ['a', _vm.x]
- }, ["Hello"])])
+ }, [_vm._v("Hello")])])
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/template-content.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/template-content.js b/ios/playground/bundlejs/vue/syntax/template-content.js
index 506e51a..fcaa1bf 100644
--- a/ios/playground/bundlejs/vue/syntax/template-content.js
+++ b/ios/playground/bundlejs/vue/syntax/template-content.js
@@ -51,10 +51,10 @@
var __vue_styles__ = []
/* script */
- __vue_exports__ = __webpack_require__(596)
+ __vue_exports__ = __webpack_require__(620)
/* template */
- var __vue_template__ = __webpack_require__(600)
+ var __vue_template__ = __webpack_require__(624)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -66,15 +66,18 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/template-content.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/template-content.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -83,7 +86,7 @@
/***/ },
-/***/ 596:
+/***/ 620:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -104,24 +107,24 @@
module.exports = {
components: {
- btn: __webpack_require__(597)
+ btn: __webpack_require__(621)
}
};
/***/ },
-/***/ 597:
+/***/ 621:
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(598)
+ __vue_styles__.push(__webpack_require__(622)
)
/* template */
- var __vue_template__ = __webpack_require__(599)
+ var __vue_template__ = __webpack_require__(623)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -133,22 +136,26 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/include/btn.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/include/btn.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-3ef66511"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
/***/ },
-/***/ 598:
+/***/ 622:
/***/ function(module, exports) {
module.exports = {
@@ -164,23 +171,23 @@
/***/ },
-/***/ 599:
+/***/ 623:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', {
+ return _c('div', {
staticClass: ["btn"]
- }, [_vm._t("default")])
+ }, [_vm._t("default")], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
-/***/ 600:
+/***/ 624:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', [_h('btn', [_h('text', ["Click!"])])])
+ return _c('div', [_c('btn', [_c('text', [_vm._v("Click!")])])], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/template-event.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/template-event.js b/ios/playground/bundlejs/vue/syntax/template-event.js
index 7e0a163..4a7fac2 100644
--- a/ios/playground/bundlejs/vue/syntax/template-event.js
+++ b/ios/playground/bundlejs/vue/syntax/template-event.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(601)
+ __vue_styles__.push(__webpack_require__(625)
)
/* script */
- __vue_exports__ = __webpack_require__(602)
+ __vue_exports__ = __webpack_require__(626)
/* template */
- var __vue_template__ = __webpack_require__(603)
+ var __vue_template__ = __webpack_require__(627)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -70,15 +70,19 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/template-event.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/template-event.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-4175cf9b"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -87,7 +91,7 @@
/***/ },
-/***/ 601:
+/***/ 625:
/***/ function(module, exports) {
module.exports = {
@@ -109,7 +113,7 @@
/***/ },
-/***/ 602:
+/***/ 626:
/***/ function(module, exports) {
'use strict';
@@ -156,39 +160,39 @@
/***/ },
-/***/ 603:
+/***/ 627:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', [_h('text', {
+ return _c('div', [_c('text', {
staticClass: ["title"]
- }, ["Hello " + _vm._s(_vm.name)]), _h('text', {
+ }, [_vm._v("Hello " + _vm._s(_vm.name))]), _c('text', {
staticClass: ["btn"],
on: {
"click": _vm.update
}
- }, ["Update 1"]), _h('text', {
+ }, [_vm._v("Update 1")]), _c('text', {
staticClass: ["btn"],
on: {
"click": function($event) {
_vm.update($event)
}
}
- }, ["Update 1"]), _h('text', {
+ }, [_vm._v("Update 1")]), _c('text', {
staticClass: ["btn"],
on: {
"click": function($event) {
_vm.setName(_vm.temp, $event)
}
}
- }, ["Update 2"]), _h('text', {
+ }, [_vm._v("Update 2")]), _c('text', {
staticClass: ["btn"],
on: {
"click": function($event) {
_vm.setName('John')
}
}
- }, ["Update 3"])])
+ }, [_vm._v("Update 3")])])
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/template-if.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/template-if.js b/ios/playground/bundlejs/vue/syntax/template-if.js
index 0d4a4c7..117952d 100644
--- a/ios/playground/bundlejs/vue/syntax/template-if.js
+++ b/ios/playground/bundlejs/vue/syntax/template-if.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(604)
+ __vue_styles__.push(__webpack_require__(628)
)
/* script */
- __vue_exports__ = __webpack_require__(605)
+ __vue_exports__ = __webpack_require__(629)
/* template */
- var __vue_template__ = __webpack_require__(606)
+ var __vue_template__ = __webpack_require__(630)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -70,15 +70,19 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/template-if.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/template-if.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-1437c26c"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -87,7 +91,7 @@
/***/ },
-/***/ 604:
+/***/ 628:
/***/ function(module, exports) {
module.exports = {
@@ -106,7 +110,7 @@
/***/ },
-/***/ 605:
+/***/ 629:
/***/ function(module, exports) {
'use strict';
@@ -143,20 +147,20 @@
/***/ },
-/***/ 606:
+/***/ 630:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', [_h('text', {
+ return _c('div', [_c('text', {
staticClass: ["btn"],
on: {
"click": _vm.toggle
}
- }, ["Toggle"]), (_vm.flag) ? _h('text', {
+ }, [_vm._v("Toggle")]), (_vm.flag) ? _c('text', {
staticClass: ["title"]
- }, ["I'm ON"]) : _vm._e(), (!_vm.flag) ? _h('text', {
+ }, [_vm._v("I'm ON")]) : _vm._e(), (!_vm.flag) ? _c('text', {
staticClass: ["title"]
- }, ["I'm Off"]) : _vm._e()])
+ }, [_vm._v("I'm Off")]) : _vm._e()])
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/template-repeat-update.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/template-repeat-update.js b/ios/playground/bundlejs/vue/syntax/template-repeat-update.js
index b78e7ac..1aead31 100644
--- a/ios/playground/bundlejs/vue/syntax/template-repeat-update.js
+++ b/ios/playground/bundlejs/vue/syntax/template-repeat-update.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(610)
+ __vue_styles__.push(__webpack_require__(634)
)
/* script */
- __vue_exports__ = __webpack_require__(611)
+ __vue_exports__ = __webpack_require__(635)
/* template */
- var __vue_template__ = __webpack_require__(612)
+ var __vue_template__ = __webpack_require__(636)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -70,15 +70,19 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/template-repeat-update.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/template-repeat-update.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-46d4a688"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -87,7 +91,7 @@
/***/ },
-/***/ 610:
+/***/ 634:
/***/ function(module, exports) {
module.exports = {
@@ -109,7 +113,7 @@
/***/ },
-/***/ 611:
+/***/ 635:
/***/ function(module, exports) {
'use strict';
@@ -163,30 +167,30 @@
/***/ },
-/***/ 612:
+/***/ 636:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', [_h('text', {
+ return _c('div', [_c('text', {
staticClass: ["title"]
- }, ["Track by"]), _vm._l((_vm.list), function(item, k, $index) {
- return _h('text', {
+ }, [_vm._v("Track by")]), _vm._l((_vm.list), function(item, k, $index) {
+ return _c('text', {
staticClass: ["subtitle"],
attrs: {
- "track-by": "item.key"
+ "trackBy": "item.key"
}
- }, [_vm._s($index) + "-" + _vm._s(item.text)])
- }), _h('text', {
+ }, [_vm._v(_vm._s($index) + "-" + _vm._s(item.text))])
+ }), _c('text', {
staticClass: ["btn"],
on: {
"click": _vm.update
}
- }, ["Update"]), _h('text', {
+ }, [_vm._v("Update")]), _c('text', {
staticClass: ["btn"],
on: {
"click": _vm.mutate
}
- }, ["Mutate"])])
+ }, [_vm._v("Mutate")])], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/template-repeat.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/template-repeat.js b/ios/playground/bundlejs/vue/syntax/template-repeat.js
index f0a0e7a..8af6d94 100644
--- a/ios/playground/bundlejs/vue/syntax/template-repeat.js
+++ b/ios/playground/bundlejs/vue/syntax/template-repeat.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(607)
+ __vue_styles__.push(__webpack_require__(631)
)
/* script */
- __vue_exports__ = __webpack_require__(608)
+ __vue_exports__ = __webpack_require__(632)
/* template */
- var __vue_template__ = __webpack_require__(609)
+ var __vue_template__ = __webpack_require__(633)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -70,15 +70,19 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/template-repeat.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/template-repeat.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-0b53ff2c"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -87,7 +91,7 @@
/***/ },
-/***/ 607:
+/***/ 631:
/***/ function(module, exports) {
module.exports = {
@@ -101,7 +105,7 @@
/***/ },
-/***/ 608:
+/***/ 632:
/***/ function(module, exports) {
'use strict';
@@ -139,29 +143,29 @@
/***/ },
-/***/ 609:
+/***/ 633:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', [_h('text', {
+ return _c('div', [_c('text', {
staticClass: ["title"]
- }, ["Custom item"]), _vm._l((_vm.list), function(item) {
- return _h('text', {
+ }, [_vm._v("Custom item")]), _vm._l((_vm.list), function(item) {
+ return _c('text', {
staticClass: ["subtitle"]
- }, [_vm._s(item)])
- }), _h('text', {
+ }, [_vm._v(_vm._s(item))])
+ }), _c('text', {
staticClass: ["title"]
- }, ["Custom key and item"]), _vm._l((_vm.list), function(i, v) {
- return _h('text', {
+ }, [_vm._v("Custom key and item")]), _vm._l((_vm.list), function(i, v) {
+ return _c('text', {
staticClass: ["subtitle"]
- }, [_vm._s(i) + "-" + _vm._s(v)])
- }), _h('text', {
+ }, [_vm._v(_vm._s(i) + "-" + _vm._s(v))])
+ }), _c('text', {
staticClass: ["title"]
- }, ["Array of Object"]), _vm._l((_vm.list2), function(item, k, index) {
- return _h('text', {
+ }, [_vm._v("Array of Object")]), _vm._l((_vm.list2), function(item, k, index) {
+ return _c('text', {
staticClass: ["subtitle"]
- }, ["> " + _vm._s(index) + "-" + _vm._s(item.text)])
- })])
+ }, [_vm._v("> " + _vm._s(index) + "-" + _vm._s(item.text))])
+ })], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/syntax/template-style.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/syntax/template-style.js b/ios/playground/bundlejs/vue/syntax/template-style.js
index 76858a9..143676e 100644
--- a/ios/playground/bundlejs/vue/syntax/template-style.js
+++ b/ios/playground/bundlejs/vue/syntax/template-style.js
@@ -51,10 +51,10 @@
var __vue_styles__ = []
/* script */
- __vue_exports__ = __webpack_require__(613)
+ __vue_exports__ = __webpack_require__(637)
/* template */
- var __vue_template__ = __webpack_require__(614)
+ var __vue_template__ = __webpack_require__(638)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -66,15 +66,18 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/syntax/template-style.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/syntax/template-style.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -83,7 +86,7 @@
/***/ },
-/***/ 613:
+/***/ 637:
/***/ function(module, exports) {
'use strict';
@@ -117,25 +120,25 @@
/***/ },
-/***/ 614:
+/***/ 638:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', {
+ return _c('div', {
on: {
"click": _vm.update
}
- }, [_h('text', {
+ }, [_c('text', {
staticStyle: {
fontSize: "48px",
color: "#0000ff"
}
- }, ["Hello"]), _h('text', {
+ }, [_vm._v("Hello")]), _c('text', {
style: {
fontSize: _vm.size,
color: _vm.color
}
- }, ["Hello"])])
+ }, [_vm._v("Hello")])])
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/template.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/template.js b/ios/playground/bundlejs/vue/template.js
index db75605..d005f6b 100644
--- a/ios/playground/bundlejs/vue/template.js
+++ b/ios/playground/bundlejs/vue/template.js
@@ -51,10 +51,10 @@
var __vue_styles__ = []
/* script */
- __vue_exports__ = __webpack_require__(615)
+ __vue_exports__ = __webpack_require__(639)
/* template */
- var __vue_template__ = __webpack_require__(620)
+ var __vue_template__ = __webpack_require__(644)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -66,15 +66,18 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/template.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/template.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
module.exports.el = 'true'
@@ -83,21 +86,21 @@
/***/ },
-/***/ 381:
+/***/ 399:
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(382)
+ __vue_styles__.push(__webpack_require__(400)
)
/* script */
- __vue_exports__ = __webpack_require__(383)
+ __vue_exports__ = __webpack_require__(401)
/* template */
- var __vue_template__ = __webpack_require__(384)
+ var __vue_template__ = __webpack_require__(402)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -109,22 +112,26 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/include/panel.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/include/panel.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-46407d45"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
/***/ },
-/***/ 382:
+/***/ 400:
/***/ function(module, exports) {
module.exports = {
@@ -178,7 +185,7 @@
/***/ },
-/***/ 383:
+/***/ 401:
/***/ function(module, exports) {
'use strict';
@@ -223,16 +230,16 @@
/***/ },
-/***/ 384:
+/***/ 402:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', {
+ return _c('div', {
class: ['panel', 'panel-' + _vm.type],
style: {
borderWidth: _vm.border
}
- }, [_h('text', {
+ }, [_c('text', {
class: ['panel-header', 'panel-header-' + _vm.type],
style: {
paddingTop: _vm.paddingHead,
@@ -240,7 +247,7 @@
paddingLeft: _vm.paddingHead * 1.5,
paddingRight: _vm.paddingHead * 1.5
}
- }, [_vm._s(_vm.title)]), _h('div', {
+ }, [_vm._v(_vm._s(_vm.title))]), _c('div', {
class: ['panel-body', 'panel-body-' + _vm.type],
style: {
paddingTop: _vm.paddingBody,
@@ -248,27 +255,27 @@
paddingLeft: _vm.paddingBody * 1.5,
paddingRight: _vm.paddingBody * 1.5
}
- }, [_vm._t("default")])])
+ }, [_vm._t("default")], 2)])
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
-/***/ 385:
+/***/ 403:
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(386)
+ __vue_styles__.push(__webpack_require__(404)
)
/* script */
- __vue_exports__ = __webpack_require__(387)
+ __vue_exports__ = __webpack_require__(405)
/* template */
- var __vue_template__ = __webpack_require__(388)
+ var __vue_template__ = __webpack_require__(406)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -280,22 +287,26 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/include/button.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/include/button.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-4c6be341"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
/***/ },
-/***/ 386:
+/***/ 404:
/***/ function(module, exports) {
module.exports = {
@@ -395,7 +406,7 @@
/***/ },
-/***/ 387:
+/***/ 405:
/***/ function(module, exports) {
'use strict';
@@ -418,35 +429,35 @@
/***/ },
-/***/ 388:
+/***/ 406:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', {
+ return _c('div', {
class: ['btn', 'btn-' + _vm.type, 'btn-sz-' + _vm.size]
- }, [_h('text', {
+ }, [_c('text', {
class: ['btn-txt', 'btn-txt-' + _vm.type, 'btn-txt-sz-' + _vm.size]
- }, [_vm._s(_vm.value)])])
+ }, [_vm._v(_vm._s(_vm.value))])])
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
-/***/ 391:
+/***/ 409:
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(392)
+ __vue_styles__.push(__webpack_require__(410)
)
/* script */
- __vue_exports__ = __webpack_require__(393)
+ __vue_exports__ = __webpack_require__(411)
/* template */
- var __vue_template__ = __webpack_require__(394)
+ var __vue_template__ = __webpack_require__(412)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -458,22 +469,26 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/include/tip.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/include/tip.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-6ec9a69c"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
/***/ },
-/***/ 392:
+/***/ 410:
/***/ function(module, exports) {
module.exports = {
@@ -519,7 +534,7 @@
/***/ },
-/***/ 393:
+/***/ 411:
/***/ function(module, exports) {
'use strict';
@@ -541,21 +556,21 @@
/***/ },
-/***/ 394:
+/***/ 412:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', {
+ return _c('div', {
class: ['tip', 'tip-' + _vm.type]
- }, [_h('text', {
+ }, [_c('text', {
class: ['tip-txt', 'tip-txt-' + _vm.type]
- }, [_vm._s(_vm.value)])])
+ }, [_vm._v(_vm._s(_vm.value))])])
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
-/***/ 615:
+/***/ 639:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -580,7 +595,7 @@
//
//
- var modal = __weex_require_module__('modal');
+ var modal = weex.requireModule('modal');
module.exports = {
data: function data() {
return {
@@ -588,10 +603,10 @@
};
},
components: {
- panel: __webpack_require__(381),
- hn: __webpack_require__(616),
- tip: __webpack_require__(391),
- button: __webpack_require__(385)
+ panel: __webpack_require__(399),
+ hn: __webpack_require__(640),
+ tip: __webpack_require__(409),
+ button: __webpack_require__(403)
},
methods: {
toast: function toast() {
@@ -602,21 +617,21 @@
/***/ },
-/***/ 616:
+/***/ 640:
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(617)
+ __vue_styles__.push(__webpack_require__(641)
)
/* script */
- __vue_exports__ = __webpack_require__(618)
+ __vue_exports__ = __webpack_require__(642)
/* template */
- var __vue_template__ = __webpack_require__(619)
+ var __vue_template__ = __webpack_require__(643)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -628,22 +643,26 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/include/hn.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/include/hn.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-188c9295"
__vue_options__.style = __vue_options__.style || {}
__vue_styles__.forEach(function (module) {
- for (var name in module) {
- __vue_options__.style[name] = module[name]
- }
+ for (var name in module) {
+ __vue_options__.style[name] = module[name]
+ }
})
+ if (typeof __register_static_styles__ === "function") {
+ __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
+ }
module.exports = __vue_exports__
/***/ },
-/***/ 617:
+/***/ 641:
/***/ function(module, exports) {
module.exports = {
@@ -675,7 +694,7 @@
/***/ },
-/***/ 618:
+/***/ 642:
/***/ function(module, exports) {
'use strict';
@@ -696,33 +715,33 @@
/***/ },
-/***/ 619:
+/***/ 643:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', {
+ return _c('div', {
class: ['h' + _vm.level],
staticStyle: {
justifyContent: "center"
}
- }, [_h('text', {
+ }, [_c('text', {
class: ['txt-h' + _vm.level]
- }, [_vm._s(_vm.value)])])
+ }, [_vm._v(_vm._s(_vm.value))])])
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
-/***/ 620:
+/***/ 644:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('scroller', [_h('panel', {
+ return _c('scroller', [_c('panel', {
attrs: {
"title": "Dialog",
"type": "primary"
}
- }, [_h('tip', {
+ }, [_c('tip', {
staticStyle: {
marginBottom: "20px"
},
@@ -730,12 +749,12 @@
"type": "success",
"value": "It's a weex example template."
}
- }), _h('hn', {
+ }), _c('hn', {
attrs: {
"level": "1",
"value": "H1"
}
- }), _h('button', {
+ }), _c('button', {
attrs: {
"type": "primary",
"value": "Toast"
@@ -745,12 +764,12 @@
_vm.toast($event)
}
}
- }), _h('hn', {
+ }), _c('hn', {
attrs: {
"level": "2",
"value": "H3"
}
- }), _h('button', {
+ }), _c('button', {
attrs: {
"type": "warning",
"value": "Toast"
@@ -760,12 +779,12 @@
_vm.toast($event)
}
}
- })]), _h('panel', {
+ })], 1), _c('panel', {
attrs: {
"title": "Image",
"type": "primary"
}
- }, [_h('tip', {
+ }, [_c('tip', {
staticStyle: {
marginBottom: "20px"
},
@@ -773,7 +792,7 @@
"type": "warning",
"value": "Weex screen width is 750"
}
- }), _h('image', {
+ }), _c('image', {
staticClass: ["img"],
staticStyle: {
width: "400px",
@@ -782,12 +801,12 @@
attrs: {
"src": _vm.img
}
- }), _h('panel', {
+ }), _c('panel', {
attrs: {
"title": "Image",
"type": "default"
}
- }, [_h('text', ["sub info"])])])])
+ }, [_c('text', [_vm._v("sub info")])])], 1)], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true