You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by bo...@apache.org on 2017/03/28 06:30:30 UTC
[04/10] 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/components/slider.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/components/slider.js b/ios/playground/bundlejs/vue/components/slider.js
index faec8f8..be6b93b 100644
--- a/ios/playground/bundlejs/vue/components/slider.js
+++ b/ios/playground/bundlejs/vue/components/slider.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(432)
+ __vue_styles__.push(__webpack_require__(450)
)
/* script */
- __vue_exports__ = __webpack_require__(433)
+ __vue_exports__ = __webpack_require__(451)
/* template */
- var __vue_template__ = __webpack_require__(442)
+ var __vue_template__ = __webpack_require__(460)
__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/components/slider.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/components/slider.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-5e494ae2"
__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,21 +91,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" ||
@@ -113,22 +117,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 = {
@@ -182,7 +190,7 @@
/***/ },
-/***/ 383:
+/***/ 401:
/***/ function(module, exports) {
'use strict';
@@ -227,16 +235,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,
@@ -244,7 +252,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,
@@ -252,13 +260,13 @@
paddingLeft: _vm.paddingBody * 1.5,
paddingRight: _vm.paddingBody * 1.5
}
- }, [_vm._t("default")])])
+ }, [_vm._t("default")], 2)])
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
-/***/ 432:
+/***/ 450:
/***/ function(module, exports) {
module.exports = {
@@ -283,7 +291,7 @@
/***/ },
-/***/ 433:
+/***/ 451:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -459,8 +467,8 @@
};
},
components: {
- panel: __webpack_require__(381),
- sliderPage: __webpack_require__(434)
+ panel: __webpack_require__(399),
+ sliderPage: __webpack_require__(452)
},
methods: {
togglePlay: function togglePlay() {
@@ -487,21 +495,21 @@
/***/ },
-/***/ 434:
+/***/ 452:
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(435)
+ __vue_styles__.push(__webpack_require__(453)
)
/* script */
- __vue_exports__ = __webpack_require__(436)
+ __vue_exports__ = __webpack_require__(454)
/* template */
- var __vue_template__ = __webpack_require__(441)
+ var __vue_template__ = __webpack_require__(459)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -513,22 +521,26 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/include/slider-page.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/include/slider-page.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-8d84a608"
__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__
/***/ },
-/***/ 435:
+/***/ 453:
/***/ function(module, exports) {
module.exports = {
@@ -542,7 +554,7 @@
/***/ },
-/***/ 436:
+/***/ 454:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -569,27 +581,27 @@
items: { default: [] }
},
components: {
- sliderItem: __webpack_require__(437)
+ sliderItem: __webpack_require__(455)
}
};
/***/ },
-/***/ 437:
+/***/ 455:
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(438)
+ __vue_styles__.push(__webpack_require__(456)
)
/* script */
- __vue_exports__ = __webpack_require__(439)
+ __vue_exports__ = __webpack_require__(457)
/* template */
- var __vue_template__ = __webpack_require__(440)
+ var __vue_template__ = __webpack_require__(458)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -601,22 +613,26 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/include/slider-item.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/include/slider-item.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-679a3900"
__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__
/***/ },
-/***/ 438:
+/***/ 456:
/***/ function(module, exports) {
module.exports = {
@@ -628,7 +644,7 @@
/***/ },
-/***/ 439:
+/***/ 457:
/***/ function(module, exports) {
'use strict';
@@ -647,11 +663,11 @@
/***/ },
-/***/ 440:
+/***/ 458:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('image', {
+ return _c('image', {
staticClass: ["slider-item"],
attrs: {
"src": _vm.image
@@ -662,236 +678,17 @@
/***/ },
-/***/ 441:
+/***/ 459:
/***/ function(module, exports) {
- module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', {
- staticClass: ["slider-page"]
- }, [_vm._l((_vm.items), function(v) {
- return _h('slider-item', {
- attrs: {
- "image": v.image,
- "link": v.link
- }
- })
- })])
- },staticRenderFns: []}
- module.exports.render._withStripped = true
+ module.exports={render:function(){},staticRenderFns:[]}
/***/ },
-/***/ 442:
+/***/ 460:
/***/ function(module, exports) {
- module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('scroller', {
- staticClass: ["body"]
- }, [_h('panel', {
- attrs: {
- "title": "auto-play",
- "type": "primary"
- }
- }, [_h('panel', {
- attrs: {
- "title": "auto-play = false",
- "padding-body": "0"
- }
- }, [_h('slider', {
- staticClass: ["slider"],
- appendAsTree: true,
- attrs: {
- "append": "tree",
- "interval": _vm.sliders[1].interval,
- "autoPlay": "false"
- }
- }, [_h('indicator', {
- staticClass: ["indicator"]
- }), _vm._l((_vm.sliders[1].sliderPages), function(v) {
- return _h('slider-page', {
- attrs: {
- "items": v.items
- }
- })
- })])]), _h('panel', {
- attrs: {
- "title": "auto-play = true",
- "padding-body": "0"
- }
- }, [_h('slider', {
- staticClass: ["slider"],
- appendAsTree: true,
- attrs: {
- "append": "tree",
- "interval": _vm.sliders[0].interval,
- "autoPlay": _vm.sliders[0].autoPlay
- }
- }, [_h('indicator', {
- staticClass: ["indicator"]
- }), _vm._l((_vm.sliders[0].sliderPages), function(v) {
- return _h('slider-page', {
- attrs: {
- "items": v.items
- }
- })
- })])])]), _h('panel', {
- attrs: {
- "title": 'Event, ' + _vm.eventCnt + ' change',
- "type": "primary"
- }
- }, [_h('slider', {
- staticClass: ["slider"],
- appendAsTree: true,
- attrs: {
- "append": "tree",
- "interval": _vm.sliders[0].interval,
- "autoPlay": _vm.sliders[0].autoPlay
- },
- on: {
- "change": _vm.handleSliderChange
- }
- }, [_h('indicator', {
- staticClass: ["indicator"]
- }), _vm._l((_vm.sliders[0].sliderPages), function(v) {
- return _h('slider-page', {
- attrs: {
- "items": v.items
- }
- })
- })])]), _h('panel', {
- attrs: {
- "title": "Indicator",
- "type": "primary"
- }
- }, [_h('panel', {
- attrs: {
- "title": "default style",
- "padding-body": "0"
- }
- }, [_h('slider', {
- staticClass: ["slider"],
- appendAsTree: true,
- attrs: {
- "append": "tree",
- "interval": _vm.sliders[0].interval,
- "autoPlay": _vm.sliders[0].autoPlay
- },
- on: {
- "change": _vm.handleSliderChange
- }
- }, [_h('indicator', {
- staticClass: ["indicator"]
- }), _vm._l((_vm.sliders[0].sliderPages), function(v) {
- return _h('slider-page', {
- attrs: {
- "items": v.items
- }
- })
- })])]), _h('panel', {
- attrs: {
- "title": "width & height",
- "padding-body": "0"
- }
- }, [_h('slider', {
- staticClass: ["slider"],
- appendAsTree: true,
- attrs: {
- "append": "tree",
- "interval": _vm.sliders[0].interval,
- "autoPlay": _vm.sliders[0].autoPlay
- }
- }, [_h('indicator', {
- staticStyle: {
- itemColor: "#dddddd",
- width: "714",
- height: "460"
- }
- }), _vm._l((_vm.sliders[0].sliderPages), function(v) {
- return _h('slider-page', {
- attrs: {
- "items": v.items
- }
- })
- })])]), _h('panel', {
- attrs: {
- "title": "left & top",
- "padding-body": "0"
- }
- }, [_h('slider', {
- staticClass: ["slider"],
- appendAsTree: true,
- attrs: {
- "append": "tree",
- "interval": _vm.sliders[1].interval,
- "autoPlay": _vm.sliders[1].autoPlay
- }
- }, [_h('indicator', {
- staticClass: ["indicator"],
- staticStyle: {
- top: "-140",
- left: "-240"
- }
- }), _vm._l((_vm.sliders[1].sliderPages), function(v) {
- return _h('slider-page', {
- attrs: {
- "items": v.items
- }
- })
- })])]), _h('panel', {
- attrs: {
- "title": "itemColor & itemSelectedColor",
- "padding-body": "0"
- }
- }, [_h('slider', {
- staticClass: ["slider"],
- appendAsTree: true,
- attrs: {
- "append": "tree",
- "interval": _vm.sliders[2].interval,
- "autoPlay": _vm.sliders[2].autoPlay
- }
- }, [_h('indicator', {
- staticClass: ["indicator"],
- staticStyle: {
- itemSelectedColor: "rgb(217, 83, 79)"
- }
- }), _vm._l((_vm.sliders[2].sliderPages), function(v) {
- return _h('slider-page', {
- attrs: {
- "items": v.items
- }
- })
- })])]), _h('panel', {
- attrs: {
- "title": "itemSize",
- "padding-body": "0"
- }
- }, [_h('slider', {
- staticClass: ["slider"],
- appendAsTree: true,
- attrs: {
- "append": "tree",
- "interval": _vm.sliders[1].interval,
- "autoPlay": _vm.sliders[1].autoPlay
- }
- }, [_h('indicator', {
- staticStyle: {
- itemColor: "#dddddd",
- itemSize: "40",
- top: "140",
- left: "180",
- width: "700",
- height: "380"
- }
- }), _vm._l((_vm.sliders[1].sliderPages), function(v) {
- return _h('slider-page', {
- attrs: {
- "items": v.items
- }
- })
- })])])])])
- },staticRenderFns: []}
- module.exports.render._withStripped = true
+ module.exports={render:function(){},staticRenderFns:[]}
/***/ }
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/components/tabbar.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/components/tabbar.js b/ios/playground/bundlejs/vue/components/tabbar.js
index c266b0b..7afd55b 100644
--- a/ios/playground/bundlejs/vue/components/tabbar.js
+++ b/ios/playground/bundlejs/vue/components/tabbar.js
@@ -51,10 +51,10 @@
var __vue_styles__ = []
/* script */
- __vue_exports__ = __webpack_require__(443)
+ __vue_exports__ = __webpack_require__(461)
/* template */
- var __vue_template__ = __webpack_require__(452)
+ var __vue_template__ = __webpack_require__(470)
__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/components/tabbar.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/components/tabbar.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 @@
/***/ },
-/***/ 419:
+/***/ 437:
/***/ function(module, exports) {
exports.getBaseURL = function (vm) {
@@ -107,7 +110,7 @@
}
nativeBase = 'http://' + host + '/' + vm.dir + '/build/';
}
- var h5Base = './index.html?page=./' + vm.dir + '/build/';
+ var h5Base = './vue.html?page=./' + vm.dir + '/build/';
// in Native
var base = nativeBase;
if (typeof window === 'object') {
@@ -120,7 +123,7 @@
/***/ },
-/***/ 443:
+/***/ 461:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -132,7 +135,7 @@
//
//
- var getBaseURL = __webpack_require__(419).getBaseURL;
+ var getBaseURL = __webpack_require__(437).getBaseURL;
module.exports = {
data: function data() {
return {
@@ -168,7 +171,7 @@
};
},
components: {
- tabbar: __webpack_require__(444)
+ tabbar: __webpack_require__(462)
},
created: function created() {
var baseURL = getBaseURL(this);
@@ -186,21 +189,21 @@
/***/ },
-/***/ 444:
+/***/ 462:
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(445)
+ __vue_styles__.push(__webpack_require__(463)
)
/* script */
- __vue_exports__ = __webpack_require__(446)
+ __vue_exports__ = __webpack_require__(464)
/* template */
- var __vue_template__ = __webpack_require__(451)
+ var __vue_template__ = __webpack_require__(469)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -212,22 +215,26 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/include/tabbar.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/include/tabbar.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-72e74326"
__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__
/***/ },
-/***/ 445:
+/***/ 463:
/***/ function(module, exports) {
module.exports = {
@@ -260,7 +267,7 @@
/***/ },
-/***/ 446:
+/***/ 464:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -328,7 +335,7 @@
};
},
components: {
- tabitem: __webpack_require__(447)
+ tabitem: __webpack_require__(465)
},
created: function created() {
this.select(this.selectedIndex);
@@ -358,21 +365,21 @@
/***/ },
-/***/ 447:
+/***/ 465:
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(448)
+ __vue_styles__.push(__webpack_require__(466)
)
/* script */
- __vue_exports__ = __webpack_require__(449)
+ __vue_exports__ = __webpack_require__(467)
/* template */
- var __vue_template__ = __webpack_require__(450)
+ var __vue_template__ = __webpack_require__(468)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -384,22 +391,26 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/include/tabitem.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/include/tabitem.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-8733b9ae"
__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__
/***/ },
-/***/ 448:
+/***/ 466:
/***/ function(module, exports) {
module.exports = {
@@ -431,7 +442,7 @@
/***/ },
-/***/ 449:
+/***/ 467:
/***/ function(module, exports) {
'use strict';
@@ -501,11 +512,11 @@
/***/ },
-/***/ 450:
+/***/ 468:
/***/ 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: ["container"],
style: {
backgroundColor: _vm.backgroundColor
@@ -513,84 +524,50 @@
on: {
"click": _vm.onclickitem
}
- }, [_h('image', {
+ }, [_c('image', {
staticClass: ["top-line"],
attrs: {
"src": "http://gtms03.alicdn.com/tps/i3/TB1mdsiMpXXXXXpXXXXNw4JIXXX-640-4.png"
}
- }), _h('image', {
+ }), _c('image', {
staticClass: ["tab-icon"],
attrs: {
"src": _vm.icon
}
- }), _h('text', {
+ }), _c('text', {
staticClass: ["tab-text"],
style: {
color: _vm.titleColor
}
- }, [_vm._s(_vm.title)])])
+ }, [_vm._v(_vm._s(_vm.title))])])
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
-/***/ 451:
+/***/ 469:
/***/ function(module, exports) {
- module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('div', {
- staticClass: ["wrapper"]
- }, [_vm._l((_vm.tabItems), function(item) {
- return _h('embed', {
- staticClass: ["content"],
- style: {
- visibility: item.visibility
- },
- attrs: {
- "src": item.src,
- "type": "weex"
- }
- })
- }), _h('div', {
- staticClass: ["tabbar"],
- appendAsTree: true,
- attrs: {
- "append": "tree"
- }
- }, [_vm._l((_vm.tabItems), function(item) {
- return _h('tabitem', {
- attrs: {
- "index": item.index,
- "icon": item.icon,
- "title": item.title,
- "titleColor": item.titleColor
- },
- on: {
- "tabItemOnClick": _vm.tabItemOnClick
- }
- })
- })])])
- },staticRenderFns: []}
- module.exports.render._withStripped = true
+ module.exports={render:function(){},staticRenderFns:[]}
/***/ },
-/***/ 452:
+/***/ 470:
/***/ 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', {
staticStyle: {
flexDirection: "column"
}
- }, [_h('tabbar', {
+ }, [_c('tabbar', {
attrs: {
"tabItems": _vm.tabItems
},
on: {
"tabBarOnClick": _vm.tabBarOnClick
}
- })])
+ })], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/components/text.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/components/text.js b/ios/playground/bundlejs/vue/components/text.js
index 31ec7e7..26c562a 100644
--- a/ios/playground/bundlejs/vue/components/text.js
+++ b/ios/playground/bundlejs/vue/components/text.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(453)
+ __vue_styles__.push(__webpack_require__(471)
)
/* script */
- __vue_exports__ = __webpack_require__(454)
+ __vue_exports__ = __webpack_require__(472)
/* template */
- var __vue_template__ = __webpack_require__(455)
+ var __vue_template__ = __webpack_require__(473)
__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/components/text.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/components/text.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-19a6f76e"
__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,21 +91,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" ||
@@ -113,22 +117,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 = {
@@ -182,7 +190,7 @@
/***/ },
-/***/ 383:
+/***/ 401:
/***/ function(module, exports) {
'use strict';
@@ -227,16 +235,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,
@@ -244,7 +252,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,
@@ -252,13 +260,13 @@
paddingLeft: _vm.paddingBody * 1.5,
paddingRight: _vm.paddingBody * 1.5
}
- }, [_vm._t("default")])])
+ }, [_vm._t("default")], 2)])
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
-/***/ 453:
+/***/ 471:
/***/ function(module, exports) {
module.exports = {
@@ -270,7 +278,7 @@
/***/ },
-/***/ 454:
+/***/ 472:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -331,180 +339,180 @@
module.exports = {
components: {
- panel: __webpack_require__(381)
+ panel: __webpack_require__(399)
}
};
/***/ },
-/***/ 455:
+/***/ 473:
/***/ 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": "color",
"type": "primary"
}
- }, [_h('text', {
+ }, [_c('text', {
staticClass: ["txt"]
- }, ["default is black"]), _h('text', {
+ }, [_vm._v("default is black")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
color: "#286090"
}
- }, ["#286090"]), _h('text', {
+ }, [_vm._v("#286090")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
color: "#0f0"
}
- }, ["#0f0"]), _h('text', {
+ }, [_vm._v("#0f0")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
color: "red"
}
- }, ["keyword"]), _h('text', {
+ }, [_vm._v("keyword")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
color: "rgb(238, 162, 54)"
}
- }, ["rgb(238, 162, 54)"]), _h('text', {
+ }, [_vm._v("rgb(238, 162, 54)")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
color: "rgba(238, 162, 54, 0.5)"
}
- }, ["rgba(238, 162, 54, 0.5)"])]), _h('panel', {
+ }, [_vm._v("rgba(238, 162, 54, 0.5)")])]), _c('panel', {
attrs: {
"title": "font-size",
"type": "primary"
}
- }, [_h('text', {
+ }, [_c('text', {
staticClass: ["txt"],
staticStyle: {
fontSize: "32px"
}
- }, ["32"]), _h('text', {
+ }, [_vm._v("32")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
fontSize: "64px"
}
- }, ["64"]), _h('text', {
+ }, [_vm._v("64")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
fontSize: "100px"
}
- }, ["100"])]), _h('panel', {
+ }, [_vm._v("100")])]), _c('panel', {
attrs: {
"title": "font-style",
"type": "primary"
}
- }, [_h('text', {
+ }, [_c('text', {
staticClass: ["txt"],
staticStyle: {
fontStyle: "normal"
}
- }, ["normal"]), _h('text', {
+ }, [_vm._v("normal")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
fontStyle: "italic"
}
- }, ["italic"])]), _h('panel', {
+ }, [_vm._v("italic")])]), _c('panel', {
attrs: {
"title": "font-weight",
"type": "primary"
}
- }, [_h('text', {
+ }, [_c('text', {
staticClass: ["txt"],
staticStyle: {
fontWeight: "normal"
}
- }, ["normal"]), _h('text', {
+ }, [_vm._v("normal")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
fontWeight: "bold"
}
- }, ["bold"])]), _h('panel', {
+ }, [_vm._v("bold")])]), _c('panel', {
attrs: {
"title": "text-decoration",
"type": "primary"
}
- }, [_h('text', {
+ }, [_c('text', {
staticClass: ["txt"],
staticStyle: {
textDecoration: "none"
}
- }, ["none"]), _h('text', {
+ }, [_vm._v("none")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
textDecoration: "underline"
}
- }, ["underline"]), _h('text', {
+ }, [_vm._v("underline")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
textDecoration: "line-through"
}
- }, ["line-through"])]), _h('panel', {
+ }, [_vm._v("line-through")])]), _c('panel', {
attrs: {
"title": "text-align",
"type": "primary"
}
- }, [_h('text', {
+ }, [_c('text', {
staticClass: ["txt"],
staticStyle: {
textAlign: "left"
}
- }, ["left"]), _h('text', {
+ }, [_vm._v("left")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
textAlign: "center"
}
- }, ["center"]), _h('text', {
+ }, [_vm._v("center")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
textAlign: "right"
}
- }, ["right"])]), _h('panel', {
+ }, [_vm._v("right")])]), _c('panel', {
attrs: {
"title": "text-overflow",
"type": "primary"
}
- }, [_h('text', {
+ }, [_c('text', {
staticClass: ["txt"],
staticStyle: {
lines: "1"
}
- }, ["no text-overflow, no text-overflow"]), _h('text', {
+ }, [_vm._v("no text-overflow, no text-overflow")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
textOverflow: "clip",
width: "450px",
lines: "1"
}
- }, ["text-overflow: clip, text-overflow: clip"]), _h('text', {
+ }, [_vm._v("text-overflow: clip, text-overflow: clip")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
textOverflow: "ellipsis",
width: "450px",
lines: "1"
}
- }, ["text-overflow: ellipsis, text-overflow: ellipsis"])]), _h('panel', {
+ }, [_vm._v("text-overflow: ellipsis, text-overflow: ellipsis")])]), _c('panel', {
attrs: {
"title": "line-height",
"type": "primary"
}
- }, [_h('text', {
+ }, [_c('text', {
staticClass: ["txt"]
- }, ["no lineheight setting"]), _h('text', {
+ }, [_vm._v("no lineheight setting")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
- lineHeight: "50"
+ lineHeight: "50px"
}
- }, ["lineheight 50"]), _h('text', {
+ }, [_vm._v("lineheight 50")]), _c('text', {
staticClass: ["txt"],
staticStyle: {
- lineHeight: "80"
+ lineHeight: "80px"
}
- }, [" lineheight 80"])])])
+ }, [_vm._v(" lineheight 80")])])], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/components/video.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/components/video.js b/ios/playground/bundlejs/vue/components/video.js
index caf0cea..fccfbe4 100644
--- a/ios/playground/bundlejs/vue/components/video.js
+++ b/ios/playground/bundlejs/vue/components/video.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(456)
+ __vue_styles__.push(__webpack_require__(474)
)
/* script */
- __vue_exports__ = __webpack_require__(457)
+ __vue_exports__ = __webpack_require__(475)
/* template */
- var __vue_template__ = __webpack_require__(458)
+ var __vue_template__ = __webpack_require__(476)
__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/components/video.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/components/video.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-a9b90eec"
__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,21 +91,21 @@
/***/ },
-/***/ 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" ||
@@ -113,22 +117,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 = {
@@ -228,7 +236,7 @@
/***/ },
-/***/ 387:
+/***/ 405:
/***/ function(module, exports) {
'use strict';
@@ -251,21 +259,21 @@
/***/ },
-/***/ 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
/***/ },
-/***/ 456:
+/***/ 474:
/***/ function(module, exports) {
module.exports = {
@@ -278,7 +286,7 @@
/***/ },
-/***/ 457:
+/***/ 475:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -305,7 +313,7 @@
//
//
- var modal = __weex_require_module__('modal');
+ var modal = weex.requireModule('modal');
module.exports = {
data: function data() {
return {
@@ -313,7 +321,7 @@
};
},
components: {
- button: __webpack_require__(385)
+ button: __webpack_require__(403)
},
methods: {
pause: function pause() {
@@ -345,11 +353,11 @@
/***/ },
-/***/ 458:
+/***/ 476:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('scroller', [_h('video', {
+ return _c('scroller', [_c('video', {
staticClass: ["video"],
attrs: {
"onpause": "onpause",
@@ -357,15 +365,15 @@
"onfinish": "onfinish",
"onfail": "onfail",
"src": "http://g.tbcdn.cn/ali-wireless-h5/res/0.0.6/toy.mp4",
- "auto-play": "true",
+ "autoPlay": "true",
"playStatus": _vm.playStatus
}
- }), _h('div', {
+ }), _c('div', {
staticStyle: {
flexDirection: "row",
justifyContent: "center"
}
- }, [_h('button', {
+ }, [_c('button', {
attrs: {
"value": "Pause"
},
@@ -374,7 +382,7 @@
_vm.pause($event)
}
}
- }), _h('button', {
+ }), _c('button', {
staticStyle: {
marginLeft: "20px"
},
@@ -387,7 +395,7 @@
_vm.play($event)
}
}
- })])])
+ })], 1)], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/components/waterfall.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/components/waterfall.js b/ios/playground/bundlejs/vue/components/waterfall.js
index 821158e..100252b 100644
--- a/ios/playground/bundlejs/vue/components/waterfall.js
+++ b/ios/playground/bundlejs/vue/components/waterfall.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(468)
+ __vue_styles__.push(__webpack_require__(477)
)
/* script */
- __vue_exports__ = __webpack_require__(469)
+ __vue_exports__ = __webpack_require__(478)
/* template */
- var __vue_template__ = __webpack_require__(470)
+ var __vue_template__ = __webpack_require__(479)
__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/incubator-weex/examples/vue/components/waterfall.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/components/waterfall.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-13cb2621"
__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 @@
/***/ },
-/***/ 468:
+/***/ 477:
/***/ function(module, exports) {
module.exports = {
@@ -259,7 +263,7 @@
/***/ },
-/***/ 469:
+/***/ 478:
/***/ function(module, exports) {
'use strict';
@@ -720,7 +724,7 @@
/***/ },
-/***/ 470:
+/***/ 479:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/components/web.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/components/web.js b/ios/playground/bundlejs/vue/components/web.js
index 602ac0a..e15cbeb 100644
--- a/ios/playground/bundlejs/vue/components/web.js
+++ b/ios/playground/bundlejs/vue/components/web.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(459)
+ __vue_styles__.push(__webpack_require__(480)
)
/* script */
- __vue_exports__ = __webpack_require__(460)
+ __vue_exports__ = __webpack_require__(481)
/* template */
- var __vue_template__ = __webpack_require__(461)
+ var __vue_template__ = __webpack_require__(482)
__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/components/web.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/components/web.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-74e76ca3"
__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,21 +91,21 @@
/***/ },
-/***/ 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" ||
@@ -113,22 +117,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 = {
@@ -228,7 +236,7 @@
/***/ },
-/***/ 387:
+/***/ 405:
/***/ function(module, exports) {
'use strict';
@@ -251,21 +259,21 @@
/***/ },
-/***/ 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
/***/ },
-/***/ 459:
+/***/ 480:
/***/ function(module, exports) {
module.exports = {
@@ -298,7 +306,7 @@
/***/ },
-/***/ 460:
+/***/ 481:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -350,10 +358,10 @@
//
//
- var webview = __weex_require_module__('webview');
+ var webview = weex.requireModule('webview');
module.exports = {
components: {
- button: __webpack_require__(385)
+ button: __webpack_require__(403)
},
methods: {
goback: function goback() {
@@ -376,19 +384,19 @@
/***/ },
-/***/ 461:
+/***/ 482:
/***/ 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: ["wrapper"]
- }, [_h('div', {
+ }, [_c('div', {
staticClass: ["toolbar"],
appendAsTree: true,
attrs: {
"append": "tree"
}
- }, [_h('button', {
+ }, [_c('button', {
staticStyle: {
marginLeft: "30px",
width: "210px",
@@ -405,7 +413,7 @@
_vm.goback($event)
}
}
- }), _h('button', {
+ }), _c('button', {
staticStyle: {
marginLeft: "30px",
width: "210px",
@@ -422,7 +430,7 @@
_vm.goforward($event)
}
}
- }), _h('button', {
+ }), _c('button', {
staticStyle: {
marginLeft: "30px",
width: "210px",
@@ -439,7 +447,7 @@
_vm.refresh($event)
}
}
- })]), _h('web', {
+ })], 1), _c('web', {
ref: "webview",
staticClass: ["content"],
attrs: {
@@ -450,7 +458,7 @@
"pagefinish": _vm.finishload,
"error": _vm.failload
}
- })])
+ })], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/hello.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/hello.js b/ios/playground/bundlejs/vue/hello.js
index efe0372..caaec75 100644
--- a/ios/playground/bundlejs/vue/hello.js
+++ b/ios/playground/bundlejs/vue/hello.js
@@ -51,7 +51,7 @@
var __vue_styles__ = []
/* template */
- var __vue_template__ = __webpack_require__(462)
+ var __vue_template__ = __webpack_require__(483)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -63,15 +63,18 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/hello.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/hello.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'
@@ -80,17 +83,17 @@
/***/ },
-/***/ 462:
+/***/ 483:
/***/ 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', {
staticStyle: {
fontSize: "100px"
}
- }, ["Hello World."])])
+ }, [_vm._v("Hello World.")])])
}]}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/iconfont.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/iconfont.js b/ios/playground/bundlejs/vue/iconfont.js
index 13ffee7..764b96c 100644
--- a/ios/playground/bundlejs/vue/iconfont.js
+++ b/ios/playground/bundlejs/vue/iconfont.js
@@ -51,14 +51,14 @@
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(463)
+ __vue_styles__.push(__webpack_require__(484)
)
/* script */
- __vue_exports__ = __webpack_require__(464)
+ __vue_exports__ = __webpack_require__(485)
/* template */
- var __vue_template__ = __webpack_require__(465)
+ var __vue_template__ = __webpack_require__(486)
__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/iconfont.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/iconfont.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-df4234e0"
__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 @@
/***/ },
-/***/ 463:
+/***/ 484:
/***/ function(module, exports) {
module.exports = {
@@ -115,7 +119,7 @@
/***/ },
-/***/ 464:
+/***/ 485:
/***/ function(module, exports) {
'use strict';
@@ -156,7 +160,7 @@
//
//
- var domModule = __weex_require_module__('dom');
+ var domModule = weex.requireModule('dom');
module.exports = {
created: function created() {
//\u76ee\u524d\u652f\u6301ttf\u3001woff\u6587\u4ef6\uff0c\u4e0d\u652f\u6301svg\u3001eot\u7c7b\u578b
@@ -181,21 +185,21 @@
/***/ },
-/***/ 465:
+/***/ 486:
/***/ 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: ["title1"]
- }, ["Assets: \ue606\ue605\ue604\ue603\ue602\ue601\ue600"]), _h('text', {
+ }, [_vm._v("Assets: \ue606\ue605\ue604\ue603\ue602\ue601\ue600")]), _c('text', {
staticClass: ["title2"]
- }, ["http ttf: \ue606\ue605\ue604\ue603\ue602\ue601\ue600"]), _h('text', {
+ }, [_vm._v("http ttf: \ue606\ue605\ue604\ue603\ue602\ue601\ue600")]), _c('text', {
staticClass: ["title3"]
- }, ["http woff: \ue606\ue605\ue604\ue603\ue602\ue601\ue600"]), _h('text', {
+ }, [_vm._v("http woff: \ue606\ue605\ue604\ue603\ue602\ue601\ue600")]), _c('text', {
staticClass: ["title4"]
- }, ["file: \ue606\ue605\ue604\ue603\ue602\ue601\ue600"])])
+ }, [_vm._v("file: \ue606\ue605\ue604\ue603\ue602\ue601\ue600")])])
}]}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/index.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/index.js b/ios/playground/bundlejs/vue/index.js
index b8adb93..91d32ae 100644
--- a/ios/playground/bundlejs/vue/index.js
+++ b/ios/playground/bundlejs/vue/index.js
@@ -51,10 +51,10 @@
var __vue_styles__ = []
/* script */
- __vue_exports__ = __webpack_require__(466)
+ __vue_exports__ = __webpack_require__(487)
/* template */
- var __vue_template__ = __webpack_require__(478)
+ var __vue_template__ = __webpack_require__(499)
__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/index.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/index.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 @@
/***/ },
-/***/ 419:
+/***/ 437:
/***/ function(module, exports) {
exports.getBaseURL = function (vm) {
@@ -107,7 +110,7 @@
}
nativeBase = 'http://' + host + '/' + vm.dir + '/build/';
}
- var h5Base = './index.html?page=./' + vm.dir + '/build/';
+ var h5Base = './vue.html?page=./' + vm.dir + '/build/';
// in Native
var base = nativeBase;
if (typeof window === 'object') {
@@ -120,11 +123,13 @@
/***/ },
-/***/ 466:
+/***/ 487:
/***/ function(module, exports, __webpack_require__) {
'use strict';
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
+
//
//
//
@@ -132,40 +137,41 @@
module.exports = {
data: function data() {
+ var root = (typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' ? 'vue-web/vue' : 'vue';
return {
items: [
// common
- { name: 'vue/syntax/hello-world', title: 'Hello World' }, { name: 'vue/style/index', title: 'Common Style' }, { name: 'vue/animation', title: 'Animation' },
+ { name: root + '/syntax/hello-world', title: 'Hello World' }, { name: root + '/style/index', title: 'Common Style' }, { name: root + '/animation', title: 'Animation' },
// component
- { name: 'vue/components/text', title: 'Text' }, { name: 'vue/components/image', title: 'Image' }, { name: 'vue/components/input', title: 'Input' }, { name: 'vue/components/scroller', title: 'Scroller' }, { name: 'vue/components/list', title: 'List' }, { name: 'vue/components/slider', title: 'Slider' }, { name: 'vue/components/a', title: 'A' }, { name: 'vue/components/video', title: 'Video' }, { name: 'vue/components/countdown', title: 'Countdown' }, { name: 'vue/components/marquee', title: 'Marquee' }, { name: 'vue/components/web', title: 'Web' }, { name: 'vue/components/navigator', title: 'Navigator' }, { name: 'vue/components/tabbar', title: 'Tabbar' },
+ { name: root + '/components/text', title: 'Text' }, { name: root + '/components/image', title: 'Image' }, { name: root + '/components/input', title: 'Input' }, { name: root + '/components/scroller', title: 'Scroller' }, { name: root + '/components/list', title: 'List' }, { name: root + '/components/waterfall', title: 'Waterfall' }, { name: root + '/components/slider', title: 'Slider' }, { name: root + '/components/a', title: 'A' }, { name: root + '/components/video', title: 'Video' }, { name: root + '/components/countdown', title: 'Countdown' }, { name: root + '/components/marquee', title: 'Marquee' }, { name: root + '/components/web', title: 'Web' }, { name: root + '/components/navigator', title: 'Navigator' }, { name: root + '/components/tabbar', title: 'Tabbar' },
// module
- { name: 'vue/modules/instance-api', title: 'Instance API' }, { name: 'vue/modules/modal', title: 'Modal' }, { name: 'vue/modules/stream', title: 'Stream' }, { name: 'vue/modules/storage', title: 'Storage' },
+ { name: root + '/modules/instance-api', title: 'Instance API' }, { name: root + '/modules/modal', title: 'Modal' }, { name: root + '/modules/stream', title: 'Stream' }, { name: root + '/modules/storage', title: 'Storage' },
// {name: 'module/clipboard', title: 'Clipboard'}, // 0.8 , developing
// showcase
- { name: 'vue/showcase/progress', title: 'Progress Bar' }, { name: 'vue/showcase/itemlist', title: 'List (Advanced)' }, { name: 'vue/showcase/calculator', title: 'Calculator' }]
+ { name: root + '/showcase/boxshadow', title: 'boxshadow' }, { name: root + '/showcase/progress', title: 'Progress Bar' }, { name: root + '/showcase/itemlist', title: 'List (Advanced)' }, { name: root + '/showcase/calculator', title: 'Calculator' }]
};
},
components: {
- exampleList: __webpack_require__(467)
+ exampleList: __webpack_require__(488)
}
};
/***/ },
-/***/ 467:
+/***/ 488:
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* script */
- __vue_exports__ = __webpack_require__(468)
+ __vue_exports__ = __webpack_require__(489)
/* template */
- var __vue_template__ = __webpack_require__(477)
+ var __vue_template__ = __webpack_require__(498)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -177,22 +183,25 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/include/example-list.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/include/example-list.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__
/***/ },
-/***/ 468:
+/***/ 489:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -206,7 +215,7 @@
//
//
- var getBaseURL = __webpack_require__(419).getBaseURL;
+ var getBaseURL = __webpack_require__(437).getBaseURL;
module.exports = {
props: {
dir: {
@@ -217,7 +226,7 @@
}
},
components: {
- exampleListItem: __webpack_require__(469)
+ exampleListItem: __webpack_require__(490)
},
created: function created() {
var base = getBaseURL(this);
@@ -232,21 +241,21 @@
/***/ },
-/***/ 469:
+/***/ 490:
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(470)
+ __vue_styles__.push(__webpack_require__(491)
)
/* script */
- __vue_exports__ = __webpack_require__(471)
+ __vue_exports__ = __webpack_require__(492)
/* template */
- var __vue_template__ = __webpack_require__(476)
+ var __vue_template__ = __webpack_require__(497)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -258,22 +267,26 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/include/example-list-item.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/include/example-list-item.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-1f417e80"
__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__
/***/ },
-/***/ 470:
+/***/ 491:
/***/ function(module, exports) {
module.exports = {
@@ -285,7 +298,7 @@
/***/ },
-/***/ 471:
+/***/ 492:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -304,14 +317,14 @@
//
//
- var event = __weex_require_module__('event');
+ var event = weex.requireModule('event');
module.exports = {
props: {
title: { default: '456' },
url: { default: '' }
},
components: {
- listItem: __webpack_require__(472)
+ listItem: __webpack_require__(493)
},
methods: {
redirect: function redirect() {
@@ -322,21 +335,21 @@
/***/ },
-/***/ 472:
+/***/ 493:
/***/ function(module, exports, __webpack_require__) {
var __vue_exports__, __vue_options__
var __vue_styles__ = []
/* styles */
- __vue_styles__.push(__webpack_require__(473)
+ __vue_styles__.push(__webpack_require__(494)
)
/* script */
- __vue_exports__ = __webpack_require__(474)
+ __vue_exports__ = __webpack_require__(495)
/* template */
- var __vue_template__ = __webpack_require__(475)
+ var __vue_template__ = __webpack_require__(496)
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
if (
typeof __vue_exports__.default === "object" ||
@@ -348,22 +361,26 @@
if (typeof __vue_options__ === "function") {
__vue_options__ = __vue_options__.options
}
- __vue_options__.__file = "/Users/bobning/work/source/weex_fork/examples/vue/include/list-item.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/include/list-item.vue"
__vue_options__.render = __vue_template__.render
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
+ __vue_options__._scopeId = "data-v-917012ba"
__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__
/***/ },
-/***/ 473:
+/***/ 494:
/***/ function(module, exports) {
module.exports = {
@@ -381,7 +398,7 @@
/***/ },
-/***/ 474:
+/***/ 495:
/***/ function(module, exports) {
'use strict';
@@ -420,11 +437,11 @@
/***/ },
-/***/ 475:
+/***/ 496:
/***/ 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: ["item"],
style: {
backgroundColor: _vm.bgColor
@@ -434,55 +451,55 @@
"touchstart": _vm.touchstart,
"touchend": _vm.touchend
}
- }, [_vm._t("default")])
+ }, [_vm._t("default")], 2)
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
-/***/ 476:
+/***/ 497:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('list-item', {
+ return _c('list-item', {
on: {
"click": _vm.redirect
}
- }, [_h('text', {
+ }, [_c('text', {
staticClass: ["item-txt"]
- }, [_vm._s(_vm.title)])])
+ }, [_vm._v(_vm._s(_vm.title))])])
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
-/***/ 477:
+/***/ 498:
/***/ 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', {
+ return _c('list', _vm._l((_vm.items), function(item) {
+ return _c('cell', {
appendAsTree: true,
attrs: {
"append": "tree"
}
- }, [_h('example-list-item', {
+ }, [_c('example-list-item', {
attrs: {
"title": item.title,
"url": item.url
}
- })])
- })])
+ })], 1)
+ }))
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
-/***/ 478:
+/***/ 499:
/***/ function(module, exports) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
- return _h('example-list', {
+ return _c('example-list', {
attrs: {
"items": _vm.items,
"dir": "examples"
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/modules/clipboard.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/modules/clipboard.js b/ios/playground/bundlejs/vue/modules/clipboard.js
index b791c2a..d299838 100644
--- a/ios/playground/bundlejs/vue/modules/clipboard.js
+++ b/ios/playground/bundlejs/vue/modules/clipboard.js
@@ -51,10 +51,10 @@
var __vue_styles__ = []
/* script */
- __vue_exports__ = __webpack_require__(479)
+ __vue_exports__ = __webpack_require__(500)
/* template */
- var __vue_template__ = __webpack_require__(480)
+ var __vue_template__ = __webpack_require__(501)
__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/modules/clipboard.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/modules/clipboard.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
/***/ },
-/***/ 479:
+/***/ 500:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -582,8 +597,8 @@
//
//
- var modal = __weex_require_module__('modal');
- var clipboard = __weex_require_module__('clipboard');
+ var modal = weex.requireModule('modal');
+ var clipboard = weex.requireModule('clipboard');
module.exports = {
data: function data() {
return {
@@ -593,9 +608,9 @@
};
},
components: {
- panel: __webpack_require__(381),
- tip: __webpack_require__(391),
- button: __webpack_require__(385)
+ panel: __webpack_require__(399),
+ tip: __webpack_require__(409),
+ button: __webpack_require__(403)
},
mounted: function mounted() {
this.tips = "1. Just click COPY button. It will auto generate a string with random text, and copy to system clipboard. \n 2. do copy in another app, then come back and click PASTE button.";
@@ -622,25 +637,25 @@
/***/ },
-/***/ 480:
+/***/ 501:
/***/ 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": "Clipboard",
"type": "primary"
}
- }, [_h('panel', {
+ }, [_c('panel', {
attrs: {
"title": "Copy to clipboard5"
}
- }, [_h('text', {
+ }, [_c('text', {
staticStyle: {
lineHeight: "40px",
fontSize: "28px"
}
- }, [_vm._s(_vm.textToCopy)]), _h('button', {
+ }, [_vm._v(_vm._s(_vm.textToCopy))]), _c('button', {
attrs: {
"type": "info",
"size": "middle",
@@ -651,16 +666,16 @@
_vm.doCopy($event)
}
}
- })]), _h('panel', {
+ })], 1), _c('panel', {
attrs: {
"title": "Paste from clipboard"
}
- }, [_h('text', {
+ }, [_c('text', {
staticStyle: {
lineHeight: "40px",
fontSize: "28px"
}
- }, [_vm._s(_vm.textFromPaste)]), _h('button', {
+ }, [_vm._v(_vm._s(_vm.textFromPaste))]), _c('button', {
attrs: {
"type": "info",
"size": "middle",
@@ -671,18 +686,18 @@
_vm.doPaste($event)
}
}
- })]), _h('panel', {
+ })], 1), _c('panel', {
attrs: {
"title": "Result"
}
- }, [_h('tip', {
+ }, [_c('tip', {
staticStyle: {
marginBottom: "20px"
},
attrs: {
"value": _vm.tips
}
- })])])])
+ })], 1)], 1)], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/61ab9f49/ios/playground/bundlejs/vue/modules/instance-api.js
----------------------------------------------------------------------
diff --git a/ios/playground/bundlejs/vue/modules/instance-api.js b/ios/playground/bundlejs/vue/modules/instance-api.js
index 316d553..6c3f0b8 100644
--- a/ios/playground/bundlejs/vue/modules/instance-api.js
+++ b/ios/playground/bundlejs/vue/modules/instance-api.js
@@ -51,10 +51,10 @@
var __vue_styles__ = []
/* script */
- __vue_exports__ = __webpack_require__(481)
+ __vue_exports__ = __webpack_require__(502)
/* template */
- var __vue_template__ = __webpack_require__(482)
+ var __vue_template__ = __webpack_require__(503)
__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/modules/instance-api.vue"
+ __vue_options__.__file = "/Users/bobning/work/source/apache-incubator-weex/examples/vue/modules/instance-api.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,13 +255,13 @@
paddingLeft: _vm.paddingBody * 1.5,
paddingRight: _vm.paddingBody * 1.5
}
- }, [_vm._t("default")])])
+ }, [_vm._t("default")], 2)])
},staticRenderFns: []}
module.exports.render._withStripped = true
/***/ },
-/***/ 481:
+/***/ 502:
/***/ function(module, exports, __webpack_require__) {
'use strict';
@@ -275,7 +282,7 @@
};
},
components: {
- panel: __webpack_require__(381)
+ panel: __webpack_require__(399)
},
created: function created() {
var config = this.$getConfig();
@@ -286,16 +293,16 @@
/***/ },
-/***/ 482:
+/***/ 503:
/***/ 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": "$getConfig()",
"type": "primary"
}
- }, [_h('text', [_vm._s(_vm.config)])])])
+ }, [_c('text', [_vm._v(_vm._s(_vm.config))])])], 1)
},staticRenderFns: []}
module.exports.render._withStripped = true