http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/749cf999/themes/weex/source/js/examples/indicator.web.js ---------------------------------------------------------------------- diff --git a/themes/weex/source/js/examples/indicator.web.js b/themes/weex/source/js/examples/indicator.web.js deleted file mode 100644 index 5c173a5..0000000 --- a/themes/weex/source/js/examples/indicator.web.js +++ /dev/null @@ -1,618 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - var _App = __webpack_require__(1); - - var _App2 = _interopRequireDefault(_App); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - _App2.default.el = '#root'; - new Vue(_App2.default); - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var __vue_exports__, __vue_options__ - var __vue_styles__ = {} - - /* script */ - __vue_exports__ = __webpack_require__(2) - - /* template */ - var __vue_template__ = __webpack_require__(10) - __vue_options__ = __vue_exports__ = __vue_exports__ || {} - if ( - typeof __vue_exports__.default === "object" || - typeof __vue_exports__.default === "function" - ) { - if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} - __vue_options__ = __vue_exports__ = __vue_exports__.default - } - if (typeof __vue_options__ === "function") { - __vue_options__ = __vue_options__.options - } - __vue_options__.__file = "/Users/YunDong/Projects/weex-vue-demo/src/App.vue" - __vue_options__.render = __vue_template__.render - __vue_options__.staticRenderFns = __vue_template__.staticRenderFns - - /* hot reload */ - if (false) {(function () { - var hotAPI = require("vue-loader/node_modules/vue-hot-reload-api") - hotAPI.install(require("vue"), false) - if (!hotAPI.compatible) return - module.hot.accept() - if (!module.hot.data) { - hotAPI.createRecord("data-v-474ddc19", __vue_options__) - } else { - hotAPI.reload("data-v-474ddc19", __vue_options__) - } - })()} - if (__vue_options__.functional) {console.error("[vue-loader] App.vue: functional components are not supported and should be defined in plain js files using render functions.")} - - module.exports = __vue_exports__ - - -/***/ }, -/* 2 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _indicator = __webpack_require__(3); - - var _indicator2 = _interopRequireDefault(_indicator); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - exports.default = { - components: { Example: _indicator2.default } - }; // - // - // - // - -/***/ }, -/* 3 */ -/***/ function(module, exports, __webpack_require__) { - - var __vue_exports__, __vue_options__ - var __vue_styles__ = {} - - /* styles */ - __webpack_require__(4) - - /* script */ - __vue_exports__ = __webpack_require__(8) - - /* template */ - var __vue_template__ = __webpack_require__(9) - __vue_options__ = __vue_exports__ = __vue_exports__ || {} - if ( - typeof __vue_exports__.default === "object" || - typeof __vue_exports__.default === "function" - ) { - if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} - __vue_options__ = __vue_exports__ = __vue_exports__.default - } - if (typeof __vue_options__ === "function") { - __vue_options__ = __vue_options__.options - } - __vue_options__.__file = "/Users/YunDong/Projects/weex-vue-demo/src/components/slider/indicator.vue" - __vue_options__.render = __vue_template__.render - __vue_options__.staticRenderFns = __vue_template__.staticRenderFns - - /* hot reload */ - if (false) {(function () { - var hotAPI = require("vue-loader/node_modules/vue-hot-reload-api") - hotAPI.install(require("vue"), false) - if (!hotAPI.compatible) return - module.hot.accept() - if (!module.hot.data) { - hotAPI.createRecord("data-v-c69d8c5c", __vue_options__) - } else { - hotAPI.reload("data-v-c69d8c5c", __vue_options__) - } - })()} - if (__vue_options__.functional) {console.error("[vue-loader] indicator.vue: functional components are not supported and should be defined in plain js files using render functions.")} - - module.exports = __vue_exports__ - - -/***/ }, -/* 4 */ -/***/ function(module, exports, __webpack_require__) { - - // style-loader: Adds some css to the DOM by adding a <style> tag - - // load the styles - var content = __webpack_require__(5); - if(typeof content === 'string') content = [[module.id, content, '']]; - // add the styles to the DOM - var update = __webpack_require__(7)(content, {}); - if(content.locals) module.exports = content.locals; - // Hot Module Replacement - if(false) { - // When the styles change, update the <style> tags - if(!content.locals) { - module.hot.accept("!!./../../../node_modules/css-loader/index.js!./../../../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-c69d8c5c!./../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./indicator.vue", function() { - var newContent = require("!!./../../../node_modules/css-loader/index.js!./../../../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-c69d8c5c!./../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./indicator.vue"); - if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; - update(newContent); - }); - } - // When the module is disposed, remove the <style> tags - module.hot.dispose(function() { update(); }); - } - -/***/ }, -/* 5 */ -/***/ function(module, exports, __webpack_require__) { - - exports = module.exports = __webpack_require__(6)(); - // imports - - - // module - exports.push([module.id, "\n.image {\n width: 700px;\n height: 700px;\n}\n.slider {\n margin-top: 25px;\n margin-left: 25px;\n width: 700px;\n height: 700px;\n border-width: 2px;\n border-style: solid;\n border-color: #41B883;\n}\n.title {\n position: absolute;\n top: 20px;\n left: 20px;\n padding-left: 20px;\n width: 200px;\n color: #FFFFFF;\n font-size: 36px;\n line-height: 60px;\n background-color: rgba(0, 0, 0, 0.3);\n}\n.frame {\n width: 700px;\n height: 700px;\n position: relative;\n}\n.indicator {\n width: 700px;\n height: 700px;\n item-color: green;\n item-selected-color: red;\n item-size: 50px;\n top: 200px;\n left: 200px;\n}\n", ""]); - - // exports - - -/***/ }, -/* 6 */ -/***/ function(module, exports) { - - /* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra - */ - // css base code, injected by the css-loader - module.exports = function() { - var list = []; - - // return the list of modules as css string - list.toString = function toString() { - var result = []; - for(var i = 0; i < this.length; i++) { - var item = this[i]; - if(item[2]) { - result.push("@media " + item[2] + "{" + item[1] + "}"); - } else { - result.push(item[1]); - } - } - return result.join(""); - }; - - // import a list of modules into the list - list.i = function(modules, mediaQuery) { - if(typeof modules === "string") - modules = [[null, modules, ""]]; - var alreadyImportedModules = {}; - for(var i = 0; i < this.length; i++) { - var id = this[i][0]; - if(typeof id === "number") - alreadyImportedModules[id] = true; - } - for(i = 0; i < modules.length; i++) { - var item = modules[i]; - // skip already imported module - // this implementation is not 100% perfect for weird media query combinations - // when a module is imported multiple times with different media queries. - // I hope this will never occur (Hey this way we have smaller bundles) - if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) { - if(mediaQuery && !item[2]) { - item[2] = mediaQuery; - } else if(mediaQuery) { - item[2] = "(" + item[2] + ") and (" + mediaQuery + ")"; - } - list.push(item); - } - } - }; - return list; - }; - - -/***/ }, -/* 7 */ -/***/ function(module, exports, __webpack_require__) { - - /* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra - */ - var stylesInDom = {}, - memoize = function(fn) { - var memo; - return function () { - if (typeof memo === "undefined") memo = fn.apply(this, arguments); - return memo; - }; - }, - isOldIE = memoize(function() { - return /msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase()); - }), - getHeadElement = memoize(function () { - return document.head || document.getElementsByTagName("head")[0]; - }), - singletonElement = null, - singletonCounter = 0, - styleElementsInsertedAtTop = []; - - module.exports = function(list, options) { - if(false) { - if(typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment"); - } - - options = options || {}; - // Force single-tag solution on IE6-9, which has a hard limit on the # of <style> - // tags it will allow on a page - if (typeof options.singleton === "undefined") options.singleton = isOldIE(); - - // By default, add <style> tags to the bottom of <head>. - if (typeof options.insertAt === "undefined") options.insertAt = "bottom"; - - var styles = listToStyles(list); - addStylesToDom(styles, options); - - return function update(newList) { - var mayRemove = []; - for(var i = 0; i < styles.length; i++) { - var item = styles[i]; - var domStyle = stylesInDom[item.id]; - domStyle.refs--; - mayRemove.push(domStyle); - } - if(newList) { - var newStyles = listToStyles(newList); - addStylesToDom(newStyles, options); - } - for(var i = 0; i < mayRemove.length; i++) { - var domStyle = mayRemove[i]; - if(domStyle.refs === 0) { - for(var j = 0; j < domStyle.parts.length; j++) - domStyle.parts[j](); - delete stylesInDom[domStyle.id]; - } - } - }; - } - - function addStylesToDom(styles, options) { - for(var i = 0; i < styles.length; i++) { - var item = styles[i]; - var domStyle = stylesInDom[item.id]; - if(domStyle) { - domStyle.refs++; - for(var j = 0; j < domStyle.parts.length; j++) { - domStyle.parts[j](item.parts[j]); - } - for(; j < item.parts.length; j++) { - domStyle.parts.push(addStyle(item.parts[j], options)); - } - } else { - var parts = []; - for(var j = 0; j < item.parts.length; j++) { - parts.push(addStyle(item.parts[j], options)); - } - stylesInDom[item.id] = {id: item.id, refs: 1, parts: parts}; - } - } - } - - function listToStyles(list) { - var styles = []; - var newStyles = {}; - for(var i = 0; i < list.length; i++) { - var item = list[i]; - var id = item[0]; - var css = item[1]; - var media = item[2]; - var sourceMap = item[3]; - var part = {css: css, media: media, sourceMap: sourceMap}; - if(!newStyles[id]) - styles.push(newStyles[id] = {id: id, parts: [part]}); - else - newStyles[id].parts.push(part); - } - return styles; - } - - function insertStyleElement(options, styleElement) { - var head = getHeadElement(); - var lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1]; - if (options.insertAt === "top") { - if(!lastStyleElementInsertedAtTop) { - head.insertBefore(styleElement, head.firstChild); - } else if(lastStyleElementInsertedAtTop.nextSibling) { - head.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling); - } else { - head.appendChild(styleElement); - } - styleElementsInsertedAtTop.push(styleElement); - } else if (options.insertAt === "bottom") { - head.appendChild(styleElement); - } else { - throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'."); - } - } - - function removeStyleElement(styleElement) { - styleElement.parentNode.removeChild(styleElement); - var idx = styleElementsInsertedAtTop.indexOf(styleElement); - if(idx >= 0) { - styleElementsInsertedAtTop.splice(idx, 1); - } - } - - function createStyleElement(options) { - var styleElement = document.createElement("style"); - styleElement.type = "text/css"; - insertStyleElement(options, styleElement); - return styleElement; - } - - function addStyle(obj, options) { - var styleElement, update, remove; - - if (options.singleton) { - var styleIndex = singletonCounter++; - styleElement = singletonElement || (singletonElement = createStyleElement(options)); - update = applyToSingletonTag.bind(null, styleElement, styleIndex, false); - remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true); - } else { - styleElement = createStyleElement(options); - update = applyToTag.bind(null, styleElement); - remove = function() { - removeStyleElement(styleElement); - }; - } - - update(obj); - - return function updateStyle(newObj) { - if(newObj) { - if(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) - return; - update(obj = newObj); - } else { - remove(); - } - }; - } - - var replaceText = (function () { - var textStore = []; - - return function (index, replacement) { - textStore[index] = replacement; - return textStore.filter(Boolean).join('\n'); - }; - })(); - - function applyToSingletonTag(styleElement, index, remove, obj) { - var css = remove ? "" : obj.css; - - if (styleElement.styleSheet) { - styleElement.styleSheet.cssText = replaceText(index, css); - } else { - var cssNode = document.createTextNode(css); - var childNodes = styleElement.childNodes; - if (childNodes[index]) styleElement.removeChild(childNodes[index]); - if (childNodes.length) { - styleElement.insertBefore(cssNode, childNodes[index]); - } else { - styleElement.appendChild(cssNode); - } - } - } - - function applyToTag(styleElement, obj) { - var css = obj.css; - var media = obj.media; - var sourceMap = obj.sourceMap; - - if (media) { - styleElement.setAttribute("media", media); - } - - if (sourceMap) { - // https://developer.chrome.com/devtools/docs/javascript-debugging - // this makes source maps inside style tags work properly in Chrome - css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'; - // http://stackoverflow.com/a/26603875 - css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */"; - } - - if (styleElement.styleSheet) { - styleElement.styleSheet.cssText = css; - } else { - while(styleElement.firstChild) { - styleElement.removeChild(styleElement.firstChild); - } - styleElement.appendChild(document.createTextNode(css)); - } - } - - -/***/ }, -/* 8 */ -/***/ function(module, exports) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - - exports.default = { - data: function data() { - return { - imageList: [{ title: 'item A', src: 'https://gd2.alicdn.com/bao/uploaded/i2/T14H1LFwBcXXXXXXXX_!!0-item_pic.jpg' }, { title: 'item B', src: 'https://gd1.alicdn.com/bao/uploaded/i1/TB1PXJCJFXXXXciXFXXXXXXXXXX_!!0-item_pic.jpg' }, { title: 'item C', src: 'https://gd3.alicdn.com/bao/uploaded/i3/TB1x6hYLXXXXXazXVXXXXXXXXXX_!!0-item_pic.jpg' }] - }; - }, - - methods: { - onchange: function onchange(event) { - console.log('changed:', event.index); - } - } - }; - -/***/ }, -/* 9 */ -/***/ function(module, exports, __webpack_require__) { - - module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', [_c('slider', { - staticClass: "slider", - attrs: { - "interval": "4500" - }, - on: { - "change": _vm.onchange - } - }, [_vm._l((_vm.imageList), function(img) { - return _c('div', { - staticClass: "frame" - }, [_c('image', { - staticClass: "image", - attrs: { - "resize": "cover", - "src": img.src - } - }), _vm._v(" "), _c('text', { - staticClass: "title" - }, [_vm._v(_vm._s(img.title))])]) - }), _vm._v(" "), _c('indicator', { - staticClass: "indicator" - })], 2)], 1) - },staticRenderFns: []} - module.exports.render._withStripped = true - if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-loader/node_modules/vue-hot-reload-api").rerender("data-v-c69d8c5c", module.exports) - } - } - -/***/ }, -/* 10 */ -/***/ function(module, exports, __webpack_require__) { - - module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('example') - },staticRenderFns: []} - module.exports.render._withStripped = true - if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-loader/node_modules/vue-hot-reload-api").rerender("data-v-474ddc19", module.exports) - } - } - -/***/ } -/******/ ]); \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/749cf999/themes/weex/source/js/examples/indicator.weex.js ---------------------------------------------------------------------- diff --git a/themes/weex/source/js/examples/indicator.weex.js b/themes/weex/source/js/examples/indicator.weex.js deleted file mode 100644 index 461f98a..0000000 --- a/themes/weex/source/js/examples/indicator.weex.js +++ /dev/null @@ -1,307 +0,0 @@ -// { "framework": "Vue" } - -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var __vue_exports__, __vue_options__ - var __vue_styles__ = [] - - /* script */ - __vue_exports__ = __webpack_require__(1) - - /* template */ - var __vue_template__ = __webpack_require__(6) - __vue_options__ = __vue_exports__ = __vue_exports__ || {} - if ( - typeof __vue_exports__.default === "object" || - typeof __vue_exports__.default === "function" - ) { - if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} - __vue_options__ = __vue_exports__ = __vue_exports__.default - } - if (typeof __vue_options__ === "function") { - __vue_options__ = __vue_options__.options - } - __vue_options__.__file = "/Users/YunDong/Projects/weex-vue-demo/src/App.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] - } - }) - - module.exports = __vue_exports__ - module.exports.el = 'body' - new Vue(module.exports) - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _indicator = __webpack_require__(2); - - var _indicator2 = _interopRequireDefault(_indicator); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - exports.default = { - components: { Example: _indicator2.default } - }; // - // - // - // - -/***/ }, -/* 2 */ -/***/ function(module, exports, __webpack_require__) { - - var __vue_exports__, __vue_options__ - var __vue_styles__ = [] - - /* styles */ - __vue_styles__.push(__webpack_require__(3) - ) - - /* script */ - __vue_exports__ = __webpack_require__(4) - - /* template */ - var __vue_template__ = __webpack_require__(5) - __vue_options__ = __vue_exports__ = __vue_exports__ || {} - if ( - typeof __vue_exports__.default === "object" || - typeof __vue_exports__.default === "function" - ) { - if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} - __vue_options__ = __vue_exports__ = __vue_exports__.default - } - if (typeof __vue_options__ === "function") { - __vue_options__ = __vue_options__.options - } - __vue_options__.__file = "/Users/YunDong/Projects/weex-vue-demo/src/components/slider/indicator.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] - } - }) - - module.exports = __vue_exports__ - - -/***/ }, -/* 3 */ -/***/ function(module, exports) { - - module.exports = { - "image": { - "width": 700, - "height": 700 - }, - "slider": { - "marginTop": 25, - "marginLeft": 25, - "width": 700, - "height": 700, - "borderWidth": 2, - "borderStyle": "solid", - "borderColor": "#41B883" - }, - "title": { - "position": "absolute", - "top": 20, - "left": 20, - "paddingLeft": 20, - "width": 200, - "color": "#FFFFFF", - "fontSize": 36, - "lineHeight": 60, - "backgroundColor": "rgba(0,0,0,0.3)" - }, - "frame": { - "width": 700, - "height": 700, - "position": "relative" - }, - "indicator": { - "width": 700, - "height": 700, - "itemColor": "green", - "itemSelectedColor": "red", - "itemSize": 50, - "top": 200, - "left": 200 - } - } - -/***/ }, -/* 4 */ -/***/ function(module, exports) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - - exports.default = { - data: function data() { - return { - imageList: [{ title: 'item A', src: 'https://gd2.alicdn.com/bao/uploaded/i2/T14H1LFwBcXXXXXXXX_!!0-item_pic.jpg' }, { title: 'item B', src: 'https://gd1.alicdn.com/bao/uploaded/i1/TB1PXJCJFXXXXciXFXXXXXXXXXX_!!0-item_pic.jpg' }, { title: 'item C', src: 'https://gd3.alicdn.com/bao/uploaded/i3/TB1x6hYLXXXXXazXVXXXXXXXXXX_!!0-item_pic.jpg' }] - }; - }, - - methods: { - onchange: function onchange(event) { - console.log('changed:', event.index); - } - } - }; - -/***/ }, -/* 5 */ -/***/ function(module, exports) { - - module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _h('div', [_h('slider', { - staticClass: ["slider"], - attrs: { - "interval": "4500" - }, - on: { - "change": _vm.onchange - } - }, [_vm._l((_vm.imageList), function(img) { - return _h('div', { - staticClass: ["frame"] - }, [_h('image', { - staticClass: ["image"], - attrs: { - "resize": "cover", - "src": img.src - } - }), _h('text', { - staticClass: ["title"] - }, [_vm._s(img.title)])]) - }), _h('indicator', { - staticClass: ["indicator"] - })])]) - },staticRenderFns: []} - module.exports.render._withStripped = true - -/***/ }, -/* 6 */ -/***/ function(module, exports) { - - module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _h('example') - },staticRenderFns: []} - module.exports.render._withStripped = true - -/***/ } -/******/ ]); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/749cf999/themes/weex/source/js/examples/input.web.js ---------------------------------------------------------------------- diff --git a/themes/weex/source/js/examples/input.web.js b/themes/weex/source/js/examples/input.web.js deleted file mode 100644 index 9abb239..0000000 --- a/themes/weex/source/js/examples/input.web.js +++ /dev/null @@ -1,586 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - var _App = __webpack_require__(1); - - var _App2 = _interopRequireDefault(_App); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - _App2.default.el = '#root'; - new Vue(_App2.default); - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var __vue_exports__, __vue_options__ - var __vue_styles__ = {} - - /* script */ - __vue_exports__ = __webpack_require__(2) - - /* template */ - var __vue_template__ = __webpack_require__(10) - __vue_options__ = __vue_exports__ = __vue_exports__ || {} - if ( - typeof __vue_exports__.default === "object" || - typeof __vue_exports__.default === "function" - ) { - if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} - __vue_options__ = __vue_exports__ = __vue_exports__.default - } - if (typeof __vue_options__ === "function") { - __vue_options__ = __vue_options__.options - } - __vue_options__.__file = "/Users/YunDong/Projects/weex-vue-demo/src/App.vue" - __vue_options__.render = __vue_template__.render - __vue_options__.staticRenderFns = __vue_template__.staticRenderFns - - /* hot reload */ - if (false) {(function () { - var hotAPI = require("vue-loader/node_modules/vue-hot-reload-api") - hotAPI.install(require("vue"), false) - if (!hotAPI.compatible) return - module.hot.accept() - if (!module.hot.data) { - hotAPI.createRecord("data-v-474ddc19", __vue_options__) - } else { - hotAPI.reload("data-v-474ddc19", __vue_options__) - } - })()} - if (__vue_options__.functional) {console.error("[vue-loader] App.vue: functional components are not supported and should be defined in plain js files using render functions.")} - - module.exports = __vue_exports__ - - -/***/ }, -/* 2 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _events = __webpack_require__(3); - - var _events2 = _interopRequireDefault(_events); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - exports.default = { - components: { Example: _events2.default } - }; // - // - // - // - -/***/ }, -/* 3 */ -/***/ function(module, exports, __webpack_require__) { - - var __vue_exports__, __vue_options__ - var __vue_styles__ = {} - - /* styles */ - __webpack_require__(4) - - /* script */ - __vue_exports__ = __webpack_require__(8) - - /* template */ - var __vue_template__ = __webpack_require__(9) - __vue_options__ = __vue_exports__ = __vue_exports__ || {} - if ( - typeof __vue_exports__.default === "object" || - typeof __vue_exports__.default === "function" - ) { - if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} - __vue_options__ = __vue_exports__ = __vue_exports__.default - } - if (typeof __vue_options__ === "function") { - __vue_options__ = __vue_options__.options - } - __vue_options__.__file = "/Users/YunDong/Projects/weex-vue-demo/src/components/input/events.vue" - __vue_options__.render = __vue_template__.render - __vue_options__.staticRenderFns = __vue_template__.staticRenderFns - - /* hot reload */ - if (false) {(function () { - var hotAPI = require("vue-loader/node_modules/vue-hot-reload-api") - hotAPI.install(require("vue"), false) - if (!hotAPI.compatible) return - module.hot.accept() - if (!module.hot.data) { - hotAPI.createRecord("data-v-7614146f", __vue_options__) - } else { - hotAPI.reload("data-v-7614146f", __vue_options__) - } - })()} - if (__vue_options__.functional) {console.error("[vue-loader] events.vue: functional components are not supported and should be defined in plain js files using render functions.")} - - module.exports = __vue_exports__ - - -/***/ }, -/* 4 */ -/***/ function(module, exports, __webpack_require__) { - - // style-loader: Adds some css to the DOM by adding a <style> tag - - // load the styles - var content = __webpack_require__(5); - if(typeof content === 'string') content = [[module.id, content, '']]; - // add the styles to the DOM - var update = __webpack_require__(7)(content, {}); - if(content.locals) module.exports = content.locals; - // Hot Module Replacement - if(false) { - // When the styles change, update the <style> tags - if(!content.locals) { - module.hot.accept("!!./../../../node_modules/css-loader/index.js!./../../../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-7614146f!./../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./events.vue", function() { - var newContent = require("!!./../../../node_modules/css-loader/index.js!./../../../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-7614146f!./../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./events.vue"); - if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; - update(newContent); - }); - } - // When the module is disposed, remove the <style> tags - module.hot.dispose(function() { update(); }); - } - -/***/ }, -/* 5 */ -/***/ function(module, exports, __webpack_require__) { - - exports = module.exports = __webpack_require__(6)(); - // imports - - - // module - exports.push([module.id, "\n.input {\n font-size: 50px;\n width: 650px;\n margin-top: 50px;\n margin-left: 50px;\n padding-top: 20px;\n padding-bottom: 20px;\n padding-left: 20px;\n padding-right: 20px;\n color: #666666;\n border-width: 2px;\n border-style: solid;\n border-color: #41B883;\n}\n", ""]); - - // exports - - -/***/ }, -/* 6 */ -/***/ function(module, exports) { - - /* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra - */ - // css base code, injected by the css-loader - module.exports = function() { - var list = []; - - // return the list of modules as css string - list.toString = function toString() { - var result = []; - for(var i = 0; i < this.length; i++) { - var item = this[i]; - if(item[2]) { - result.push("@media " + item[2] + "{" + item[1] + "}"); - } else { - result.push(item[1]); - } - } - return result.join(""); - }; - - // import a list of modules into the list - list.i = function(modules, mediaQuery) { - if(typeof modules === "string") - modules = [[null, modules, ""]]; - var alreadyImportedModules = {}; - for(var i = 0; i < this.length; i++) { - var id = this[i][0]; - if(typeof id === "number") - alreadyImportedModules[id] = true; - } - for(i = 0; i < modules.length; i++) { - var item = modules[i]; - // skip already imported module - // this implementation is not 100% perfect for weird media query combinations - // when a module is imported multiple times with different media queries. - // I hope this will never occur (Hey this way we have smaller bundles) - if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) { - if(mediaQuery && !item[2]) { - item[2] = mediaQuery; - } else if(mediaQuery) { - item[2] = "(" + item[2] + ") and (" + mediaQuery + ")"; - } - list.push(item); - } - } - }; - return list; - }; - - -/***/ }, -/* 7 */ -/***/ function(module, exports, __webpack_require__) { - - /* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra - */ - var stylesInDom = {}, - memoize = function(fn) { - var memo; - return function () { - if (typeof memo === "undefined") memo = fn.apply(this, arguments); - return memo; - }; - }, - isOldIE = memoize(function() { - return /msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase()); - }), - getHeadElement = memoize(function () { - return document.head || document.getElementsByTagName("head")[0]; - }), - singletonElement = null, - singletonCounter = 0, - styleElementsInsertedAtTop = []; - - module.exports = function(list, options) { - if(false) { - if(typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment"); - } - - options = options || {}; - // Force single-tag solution on IE6-9, which has a hard limit on the # of <style> - // tags it will allow on a page - if (typeof options.singleton === "undefined") options.singleton = isOldIE(); - - // By default, add <style> tags to the bottom of <head>. - if (typeof options.insertAt === "undefined") options.insertAt = "bottom"; - - var styles = listToStyles(list); - addStylesToDom(styles, options); - - return function update(newList) { - var mayRemove = []; - for(var i = 0; i < styles.length; i++) { - var item = styles[i]; - var domStyle = stylesInDom[item.id]; - domStyle.refs--; - mayRemove.push(domStyle); - } - if(newList) { - var newStyles = listToStyles(newList); - addStylesToDom(newStyles, options); - } - for(var i = 0; i < mayRemove.length; i++) { - var domStyle = mayRemove[i]; - if(domStyle.refs === 0) { - for(var j = 0; j < domStyle.parts.length; j++) - domStyle.parts[j](); - delete stylesInDom[domStyle.id]; - } - } - }; - } - - function addStylesToDom(styles, options) { - for(var i = 0; i < styles.length; i++) { - var item = styles[i]; - var domStyle = stylesInDom[item.id]; - if(domStyle) { - domStyle.refs++; - for(var j = 0; j < domStyle.parts.length; j++) { - domStyle.parts[j](item.parts[j]); - } - for(; j < item.parts.length; j++) { - domStyle.parts.push(addStyle(item.parts[j], options)); - } - } else { - var parts = []; - for(var j = 0; j < item.parts.length; j++) { - parts.push(addStyle(item.parts[j], options)); - } - stylesInDom[item.id] = {id: item.id, refs: 1, parts: parts}; - } - } - } - - function listToStyles(list) { - var styles = []; - var newStyles = {}; - for(var i = 0; i < list.length; i++) { - var item = list[i]; - var id = item[0]; - var css = item[1]; - var media = item[2]; - var sourceMap = item[3]; - var part = {css: css, media: media, sourceMap: sourceMap}; - if(!newStyles[id]) - styles.push(newStyles[id] = {id: id, parts: [part]}); - else - newStyles[id].parts.push(part); - } - return styles; - } - - function insertStyleElement(options, styleElement) { - var head = getHeadElement(); - var lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1]; - if (options.insertAt === "top") { - if(!lastStyleElementInsertedAtTop) { - head.insertBefore(styleElement, head.firstChild); - } else if(lastStyleElementInsertedAtTop.nextSibling) { - head.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling); - } else { - head.appendChild(styleElement); - } - styleElementsInsertedAtTop.push(styleElement); - } else if (options.insertAt === "bottom") { - head.appendChild(styleElement); - } else { - throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'."); - } - } - - function removeStyleElement(styleElement) { - styleElement.parentNode.removeChild(styleElement); - var idx = styleElementsInsertedAtTop.indexOf(styleElement); - if(idx >= 0) { - styleElementsInsertedAtTop.splice(idx, 1); - } - } - - function createStyleElement(options) { - var styleElement = document.createElement("style"); - styleElement.type = "text/css"; - insertStyleElement(options, styleElement); - return styleElement; - } - - function addStyle(obj, options) { - var styleElement, update, remove; - - if (options.singleton) { - var styleIndex = singletonCounter++; - styleElement = singletonElement || (singletonElement = createStyleElement(options)); - update = applyToSingletonTag.bind(null, styleElement, styleIndex, false); - remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true); - } else { - styleElement = createStyleElement(options); - update = applyToTag.bind(null, styleElement); - remove = function() { - removeStyleElement(styleElement); - }; - } - - update(obj); - - return function updateStyle(newObj) { - if(newObj) { - if(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) - return; - update(obj = newObj); - } else { - remove(); - } - }; - } - - var replaceText = (function () { - var textStore = []; - - return function (index, replacement) { - textStore[index] = replacement; - return textStore.filter(Boolean).join('\n'); - }; - })(); - - function applyToSingletonTag(styleElement, index, remove, obj) { - var css = remove ? "" : obj.css; - - if (styleElement.styleSheet) { - styleElement.styleSheet.cssText = replaceText(index, css); - } else { - var cssNode = document.createTextNode(css); - var childNodes = styleElement.childNodes; - if (childNodes[index]) styleElement.removeChild(childNodes[index]); - if (childNodes.length) { - styleElement.insertBefore(cssNode, childNodes[index]); - } else { - styleElement.appendChild(cssNode); - } - } - } - - function applyToTag(styleElement, obj) { - var css = obj.css; - var media = obj.media; - var sourceMap = obj.sourceMap; - - if (media) { - styleElement.setAttribute("media", media); - } - - if (sourceMap) { - // https://developer.chrome.com/devtools/docs/javascript-debugging - // this makes source maps inside style tags work properly in Chrome - css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'; - // http://stackoverflow.com/a/26603875 - css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */"; - } - - if (styleElement.styleSheet) { - styleElement.styleSheet.cssText = css; - } else { - while(styleElement.firstChild) { - styleElement.removeChild(styleElement.firstChild); - } - styleElement.appendChild(document.createTextNode(css)); - } - } - - -/***/ }, -/* 8 */ -/***/ function(module, exports) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - // - // - // - // - // - // - - var modal = weex.requireModule('modal'); - - exports.default = { - methods: { - oninput: function oninput(event) { - console.log('oninput:', event.value); - modal.toast({ - message: 'oninput: ' + event.value, - duration: 0.8 - }); - }, - onchange: function onchange(event) { - console.log('onchange:', event.value); - modal.toast({ - message: 'onchange: ' + event.value, - duration: 0.8 - }); - }, - onfocus: function onfocus(event) { - console.log('onfocus:', event.value); - modal.toast({ - message: 'onfocus: ' + event.value, - duration: 0.8 - }); - }, - onblur: function onblur(event) { - console.log('onblur:', event.value); - modal.toast({ - message: 'input blur: ' + event.value, - duration: 0.8 - }); - } - } - }; - -/***/ }, -/* 9 */ -/***/ function(module, exports, __webpack_require__) { - - module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('div', { - staticClass: "wrapper" - }, [_c('input', { - ref: "input", - staticClass: "input", - attrs: { - "type": "text" - }, - on: { - "input": _vm.oninput, - "change": _vm.onchange, - "focus": _vm.onfocus, - "blur": _vm.onblur - } - })]) - },staticRenderFns: []} - module.exports.render._withStripped = true - if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-loader/node_modules/vue-hot-reload-api").rerender("data-v-7614146f", module.exports) - } - } - -/***/ }, -/* 10 */ -/***/ function(module, exports, __webpack_require__) { - - module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('example') - },staticRenderFns: []} - module.exports.render._withStripped = true - if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-loader/node_modules/vue-hot-reload-api").rerender("data-v-474ddc19", module.exports) - } - } - -/***/ } -/******/ ]); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/749cf999/themes/weex/source/js/examples/input.weex.js ---------------------------------------------------------------------- diff --git a/themes/weex/source/js/examples/input.weex.js b/themes/weex/source/js/examples/input.weex.js deleted file mode 100644 index 9655f47..0000000 --- a/themes/weex/source/js/examples/input.weex.js +++ /dev/null @@ -1,251 +0,0 @@ -// { "framework": "Vue" } - -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var __vue_exports__, __vue_options__ - var __vue_styles__ = [] - - /* script */ - __vue_exports__ = __webpack_require__(1) - - /* template */ - var __vue_template__ = __webpack_require__(6) - __vue_options__ = __vue_exports__ = __vue_exports__ || {} - if ( - typeof __vue_exports__.default === "object" || - typeof __vue_exports__.default === "function" - ) { - if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} - __vue_options__ = __vue_exports__ = __vue_exports__.default - } - if (typeof __vue_options__ === "function") { - __vue_options__ = __vue_options__.options - } - __vue_options__.__file = "/Users/YunDong/Projects/weex-vue-demo/src/App.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] - } - }) - - module.exports = __vue_exports__ - module.exports.el = 'body' - new Vue(module.exports) - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _events = __webpack_require__(2); - - var _events2 = _interopRequireDefault(_events); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - exports.default = { - components: { Example: _events2.default } - }; // - // - // - // - -/***/ }, -/* 2 */ -/***/ function(module, exports, __webpack_require__) { - - var __vue_exports__, __vue_options__ - var __vue_styles__ = [] - - /* styles */ - __vue_styles__.push(__webpack_require__(3) - ) - - /* script */ - __vue_exports__ = __webpack_require__(4) - - /* template */ - var __vue_template__ = __webpack_require__(5) - __vue_options__ = __vue_exports__ = __vue_exports__ || {} - if ( - typeof __vue_exports__.default === "object" || - typeof __vue_exports__.default === "function" - ) { - if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} - __vue_options__ = __vue_exports__ = __vue_exports__.default - } - if (typeof __vue_options__ === "function") { - __vue_options__ = __vue_options__.options - } - __vue_options__.__file = "/Users/YunDong/Projects/weex-vue-demo/src/components/input/events.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] - } - }) - - module.exports = __vue_exports__ - - -/***/ }, -/* 3 */ -/***/ function(module, exports) { - - module.exports = { - "input": { - "fontSize": 50, - "width": 650, - "marginTop": 50, - "marginLeft": 50, - "paddingTop": 20, - "paddingBottom": 20, - "paddingLeft": 20, - "paddingRight": 20, - "color": "#666666", - "borderWidth": 2, - "borderStyle": "solid", - "borderColor": "#41B883" - } - } - -/***/ }, -/* 4 */ -/***/ function(module, exports) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - // - // - // - // - // - // - - var modal = weex.requireModule('modal'); - - exports.default = { - methods: { - oninput: function oninput(event) { - console.log('oninput:', event.value); - modal.toast({ - message: 'oninput: ' + event.value, - duration: 0.8 - }); - }, - onchange: function onchange(event) { - console.log('onchange:', event.value); - modal.toast({ - message: 'onchange: ' + event.value, - duration: 0.8 - }); - }, - onfocus: function onfocus(event) { - console.log('onfocus:', event.value); - modal.toast({ - message: 'onfocus: ' + event.value, - duration: 0.8 - }); - }, - onblur: function onblur(event) { - console.log('onblur:', event.value); - modal.toast({ - message: 'input blur: ' + event.value, - duration: 0.8 - }); - } - } - }; - -/***/ }, -/* 5 */ -/***/ 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"] - }, [_h('input', { - ref: "input", - staticClass: ["input"], - attrs: { - "type": "text" - }, - on: { - "input": _vm.oninput, - "change": _vm.onchange, - "focus": _vm.onfocus, - "blur": _vm.onblur - } - })]) - },staticRenderFns: []} - module.exports.render._withStripped = true - -/***/ }, -/* 6 */ -/***/ function(module, exports) { - - module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _h('example') - },staticRenderFns: []} - module.exports.render._withStripped = true - -/***/ } -/******/ ]); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/749cf999/themes/weex/source/js/examples/list.web.js ---------------------------------------------------------------------- diff --git a/themes/weex/source/js/examples/list.web.js b/themes/weex/source/js/examples/list.web.js deleted file mode 100644 index 5f7005a..0000000 --- a/themes/weex/source/js/examples/list.web.js +++ /dev/null @@ -1,584 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - var _App = __webpack_require__(1); - - var _App2 = _interopRequireDefault(_App); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - _App2.default.el = '#root'; - new Vue(_App2.default); - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - var __vue_exports__, __vue_options__ - var __vue_styles__ = {} - - /* script */ - __vue_exports__ = __webpack_require__(2) - - /* template */ - var __vue_template__ = __webpack_require__(10) - __vue_options__ = __vue_exports__ = __vue_exports__ || {} - if ( - typeof __vue_exports__.default === "object" || - typeof __vue_exports__.default === "function" - ) { - if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} - __vue_options__ = __vue_exports__ = __vue_exports__.default - } - if (typeof __vue_options__ === "function") { - __vue_options__ = __vue_options__.options - } - __vue_options__.__file = "/Users/YunDong/Projects/weex-vue-demo/src/App.vue" - __vue_options__.render = __vue_template__.render - __vue_options__.staticRenderFns = __vue_template__.staticRenderFns - - /* hot reload */ - if (false) {(function () { - var hotAPI = require("vue-loader/node_modules/vue-hot-reload-api") - hotAPI.install(require("vue"), false) - if (!hotAPI.compatible) return - module.hot.accept() - if (!module.hot.data) { - hotAPI.createRecord("data-v-474ddc19", __vue_options__) - } else { - hotAPI.reload("data-v-474ddc19", __vue_options__) - } - })()} - if (__vue_options__.functional) {console.error("[vue-loader] App.vue: functional components are not supported and should be defined in plain js files using render functions.")} - - module.exports = __vue_exports__ - - -/***/ }, -/* 2 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _loadmore = __webpack_require__(3); - - var _loadmore2 = _interopRequireDefault(_loadmore); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - exports.default = { - components: { Example: _loadmore2.default } - }; // - // - // - // - -/***/ }, -/* 3 */ -/***/ function(module, exports, __webpack_require__) { - - var __vue_exports__, __vue_options__ - var __vue_styles__ = {} - - /* styles */ - __webpack_require__(4) - - /* script */ - __vue_exports__ = __webpack_require__(8) - - /* template */ - var __vue_template__ = __webpack_require__(9) - __vue_options__ = __vue_exports__ = __vue_exports__ || {} - if ( - typeof __vue_exports__.default === "object" || - typeof __vue_exports__.default === "function" - ) { - if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} - __vue_options__ = __vue_exports__ = __vue_exports__.default - } - if (typeof __vue_options__ === "function") { - __vue_options__ = __vue_options__.options - } - __vue_options__.__file = "/Users/YunDong/Projects/weex-vue-demo/src/components/list/loadmore.vue" - __vue_options__.render = __vue_template__.render - __vue_options__.staticRenderFns = __vue_template__.staticRenderFns - __vue_options__._scopeId = "data-v-51c0496b" - - /* hot reload */ - if (false) {(function () { - var hotAPI = require("vue-loader/node_modules/vue-hot-reload-api") - hotAPI.install(require("vue"), false) - if (!hotAPI.compatible) return - module.hot.accept() - if (!module.hot.data) { - hotAPI.createRecord("data-v-51c0496b", __vue_options__) - } else { - hotAPI.reload("data-v-51c0496b", __vue_options__) - } - })()} - if (__vue_options__.functional) {console.error("[vue-loader] loadmore.vue: functional components are not supported and should be defined in plain js files using render functions.")} - - module.exports = __vue_exports__ - - -/***/ }, -/* 4 */ -/***/ function(module, exports, __webpack_require__) { - - // style-loader: Adds some css to the DOM by adding a <style> tag - - // load the styles - var content = __webpack_require__(5); - if(typeof content === 'string') content = [[module.id, content, '']]; - // add the styles to the DOM - var update = __webpack_require__(7)(content, {}); - if(content.locals) module.exports = content.locals; - // Hot Module Replacement - if(false) { - // When the styles change, update the <style> tags - if(!content.locals) { - module.hot.accept("!!./../../../node_modules/css-loader/index.js!./../../../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-51c0496b&scoped=true!./../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./loadmore.vue", function() { - var newContent = require("!!./../../../node_modules/css-loader/index.js!./../../../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-51c0496b&scoped=true!./../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./loadmore.vue"); - if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; - update(newContent); - }); - } - // When the module is disposed, remove the <style> tags - module.hot.dispose(function() { update(); }); - } - -/***/ }, -/* 5 */ -/***/ function(module, exports, __webpack_require__) { - - exports = module.exports = __webpack_require__(6)(); - // imports - - - // module - exports.push([module.id, "\n.panel[data-v-51c0496b] {\n width: 600px;\n height: 250px;\n margin-left: 75px;\n margin-top: 35px;\n margin-bottom: 35px;\n flex-direction: column;\n justify-content: center;\n border-width: 2px;\n border-style: solid;\n border-color: rgb(162, 217, 192);\n background-color: rgba(162, 217, 192, 0.2);\n}\n.text[data-v-51c0496b] {\n font-size: 50px;\n text-align: center;\n color: #41B883;\n}\n", ""]); - - // exports - - -/***/ }, -/* 6 */ -/***/ function(module, exports) { - - /* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra - */ - // css base code, injected by the css-loader - module.exports = function() { - var list = []; - - // return the list of modules as css string - list.toString = function toString() { - var result = []; - for(var i = 0; i < this.length; i++) { - var item = this[i]; - if(item[2]) { - result.push("@media " + item[2] + "{" + item[1] + "}"); - } else { - result.push(item[1]); - } - } - return result.join(""); - }; - - // import a list of modules into the list - list.i = function(modules, mediaQuery) { - if(typeof modules === "string") - modules = [[null, modules, ""]]; - var alreadyImportedModules = {}; - for(var i = 0; i < this.length; i++) { - var id = this[i][0]; - if(typeof id === "number") - alreadyImportedModules[id] = true; - } - for(i = 0; i < modules.length; i++) { - var item = modules[i]; - // skip already imported module - // this implementation is not 100% perfect for weird media query combinations - // when a module is imported multiple times with different media queries. - // I hope this will never occur (Hey this way we have smaller bundles) - if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) { - if(mediaQuery && !item[2]) { - item[2] = mediaQuery; - } else if(mediaQuery) { - item[2] = "(" + item[2] + ") and (" + mediaQuery + ")"; - } - list.push(item); - } - } - }; - return list; - }; - - -/***/ }, -/* 7 */ -/***/ function(module, exports, __webpack_require__) { - - /* - MIT License http://www.opensource.org/licenses/mit-license.php - Author Tobias Koppers @sokra - */ - var stylesInDom = {}, - memoize = function(fn) { - var memo; - return function () { - if (typeof memo === "undefined") memo = fn.apply(this, arguments); - return memo; - }; - }, - isOldIE = memoize(function() { - return /msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase()); - }), - getHeadElement = memoize(function () { - return document.head || document.getElementsByTagName("head")[0]; - }), - singletonElement = null, - singletonCounter = 0, - styleElementsInsertedAtTop = []; - - module.exports = function(list, options) { - if(false) { - if(typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment"); - } - - options = options || {}; - // Force single-tag solution on IE6-9, which has a hard limit on the # of <style> - // tags it will allow on a page - if (typeof options.singleton === "undefined") options.singleton = isOldIE(); - - // By default, add <style> tags to the bottom of <head>. - if (typeof options.insertAt === "undefined") options.insertAt = "bottom"; - - var styles = listToStyles(list); - addStylesToDom(styles, options); - - return function update(newList) { - var mayRemove = []; - for(var i = 0; i < styles.length; i++) { - var item = styles[i]; - var domStyle = stylesInDom[item.id]; - domStyle.refs--; - mayRemove.push(domStyle); - } - if(newList) { - var newStyles = listToStyles(newList); - addStylesToDom(newStyles, options); - } - for(var i = 0; i < mayRemove.length; i++) { - var domStyle = mayRemove[i]; - if(domStyle.refs === 0) { - for(var j = 0; j < domStyle.parts.length; j++) - domStyle.parts[j](); - delete stylesInDom[domStyle.id]; - } - } - }; - } - - function addStylesToDom(styles, options) { - for(var i = 0; i < styles.length; i++) { - var item = styles[i]; - var domStyle = stylesInDom[item.id]; - if(domStyle) { - domStyle.refs++; - for(var j = 0; j < domStyle.parts.length; j++) { - domStyle.parts[j](item.parts[j]); - } - for(; j < item.parts.length; j++) { - domStyle.parts.push(addStyle(item.parts[j], options)); - } - } else { - var parts = []; - for(var j = 0; j < item.parts.length; j++) { - parts.push(addStyle(item.parts[j], options)); - } - stylesInDom[item.id] = {id: item.id, refs: 1, parts: parts}; - } - } - } - - function listToStyles(list) { - var styles = []; - var newStyles = {}; - for(var i = 0; i < list.length; i++) { - var item = list[i]; - var id = item[0]; - var css = item[1]; - var media = item[2]; - var sourceMap = item[3]; - var part = {css: css, media: media, sourceMap: sourceMap}; - if(!newStyles[id]) - styles.push(newStyles[id] = {id: id, parts: [part]}); - else - newStyles[id].parts.push(part); - } - return styles; - } - - function insertStyleElement(options, styleElement) { - var head = getHeadElement(); - var lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1]; - if (options.insertAt === "top") { - if(!lastStyleElementInsertedAtTop) { - head.insertBefore(styleElement, head.firstChild); - } else if(lastStyleElementInsertedAtTop.nextSibling) { - head.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling); - } else { - head.appendChild(styleElement); - } - styleElementsInsertedAtTop.push(styleElement); - } else if (options.insertAt === "bottom") { - head.appendChild(styleElement); - } else { - throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'."); - } - } - - function removeStyleElement(styleElement) { - styleElement.parentNode.removeChild(styleElement); - var idx = styleElementsInsertedAtTop.indexOf(styleElement); - if(idx >= 0) { - styleElementsInsertedAtTop.splice(idx, 1); - } - } - - function createStyleElement(options) { - var styleElement = document.createElement("style"); - styleElement.type = "text/css"; - insertStyleElement(options, styleElement); - return styleElement; - } - - function addStyle(obj, options) { - var styleElement, update, remove; - - if (options.singleton) { - var styleIndex = singletonCounter++; - styleElement = singletonElement || (singletonElement = createStyleElement(options)); - update = applyToSingletonTag.bind(null, styleElement, styleIndex, false); - remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true); - } else { - styleElement = createStyleElement(options); - update = applyToTag.bind(null, styleElement); - remove = function() { - removeStyleElement(styleElement); - }; - } - - update(obj); - - return function updateStyle(newObj) { - if(newObj) { - if(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) - return; - update(obj = newObj); - } else { - remove(); - } - }; - } - - var replaceText = (function () { - var textStore = []; - - return function (index, replacement) { - textStore[index] = replacement; - return textStore.filter(Boolean).join('\n'); - }; - })(); - - function applyToSingletonTag(styleElement, index, remove, obj) { - var css = remove ? "" : obj.css; - - if (styleElement.styleSheet) { - styleElement.styleSheet.cssText = replaceText(index, css); - } else { - var cssNode = document.createTextNode(css); - var childNodes = styleElement.childNodes; - if (childNodes[index]) styleElement.removeChild(childNodes[index]); - if (childNodes.length) { - styleElement.insertBefore(cssNode, childNodes[index]); - } else { - styleElement.appendChild(cssNode); - } - } - } - - function applyToTag(styleElement, obj) { - var css = obj.css; - var media = obj.media; - var sourceMap = obj.sourceMap; - - if (media) { - styleElement.setAttribute("media", media); - } - - if (sourceMap) { - // https://developer.chrome.com/devtools/docs/javascript-debugging - // this makes source maps inside style tags work properly in Chrome - css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'; - // http://stackoverflow.com/a/26603875 - css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */"; - } - - if (styleElement.styleSheet) { - styleElement.styleSheet.cssText = css; - } else { - while(styleElement.firstChild) { - styleElement.removeChild(styleElement.firstChild); - } - styleElement.appendChild(document.createTextNode(css)); - } - } - - -/***/ }, -/* 8 */ -/***/ function(module, exports) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - // - // - // - // - // - // - // - // - // - // - - var modal = weex.requireModule('modal'); - var LOADMORE_COUNT = 4; - - exports.default = { - data: function data() { - return { - lists: [1, 2, 3, 4, 5] - }; - }, - - methods: { - fetch: function fetch(event) { - var _this = this; - - modal.toast({ message: 'loadmore', duration: 1 }); - - setTimeout(function () { - var length = _this.lists.length; - for (var i = length; i < length + LOADMORE_COUNT; ++i) { - _this.lists.push(i + 1); - } - }, 800); - } - } - }; - -/***/ }, -/* 9 */ -/***/ function(module, exports, __webpack_require__) { - - module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('list', { - staticClass: "list", - attrs: { - "loadmoreoffset": "10" - }, - on: { - "loadmore": _vm.fetch - } - }, _vm._l((_vm.lists), function(num) { - return _c('cell', { - staticClass: "cell" - }, [_c('div', { - staticClass: "panel" - }, [_c('text', { - staticClass: "text" - }, [_vm._v(_vm._s(num))])])]) - })) - },staticRenderFns: []} - module.exports.render._withStripped = true - if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-loader/node_modules/vue-hot-reload-api").rerender("data-v-51c0496b", module.exports) - } - } - -/***/ }, -/* 10 */ -/***/ function(module, exports, __webpack_require__) { - - module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('example') - },staticRenderFns: []} - module.exports.render._withStripped = true - if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-loader/node_modules/vue-hot-reload-api").rerender("data-v-474ddc19", module.exports) - } - } - -/***/ } -/******/ ]); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/749cf999/themes/weex/source/js/examples/list.weex.js ---------------------------------------------------------------------- diff --git a/themes/weex/source/js/examples/list.weex.js b/themes/weex/source/js/examples/list.weex.js deleted file mode 100644 index 42c9b23..0000000 --- a/themes/weex/source/js/examples/list.weex.js +++ /dev/null @@ -1,252 +0,0 @@ -// { "framework": "Vue" } - -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - var __vue_exports__, __vue_options__ - var __vue_styles__ = [] - - /* script */ - __vue_exports__ = __webpack_require__(1) - - /* template */ - var __vue_template__ = __webpack_require__(6) - __vue_options__ = __vue_exports__ = __vue_exports__ || {} - if ( - typeof __vue_exports__.default === "object" || - typeof __vue_exports__.default === "function" - ) { - if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} - __vue_options__ = __vue_exports__ = __vue_exports__.default - } - if (typeof __vue_options__ === "function") { - __vue_options__ = __vue_options__.options - } - __vue_options__.__file = "/Users/YunDong/Projects/weex-vue-demo/src/App.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] - } - }) - - module.exports = __vue_exports__ - module.exports.el = 'body' - new Vue(module.exports) - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _loadmore = __webpack_require__(2); - - var _loadmore2 = _interopRequireDefault(_loadmore); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - exports.default = { - components: { Example: _loadmore2.default } - }; // - // - // - // - -/***/ }, -/* 2 */ -/***/ function(module, exports, __webpack_require__) { - - var __vue_exports__, __vue_options__ - var __vue_styles__ = [] - - /* styles */ - __vue_styles__.push(__webpack_require__(3) - ) - - /* script */ - __vue_exports__ = __webpack_require__(4) - - /* template */ - var __vue_template__ = __webpack_require__(5) - __vue_options__ = __vue_exports__ = __vue_exports__ || {} - if ( - typeof __vue_exports__.default === "object" || - typeof __vue_exports__.default === "function" - ) { - if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")} - __vue_options__ = __vue_exports__ = __vue_exports__.default - } - if (typeof __vue_options__ === "function") { - __vue_options__ = __vue_options__.options - } - __vue_options__.__file = "/Users/YunDong/Projects/weex-vue-demo/src/components/list/loadmore.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] - } - }) - - module.exports = __vue_exports__ - - -/***/ }, -/* 3 */ -/***/ function(module, exports) { - - module.exports = { - "panel": { - "width": 600, - "height": 250, - "marginLeft": 75, - "marginTop": 35, - "marginBottom": 35, - "flexDirection": "column", - "justifyContent": "center", - "borderWidth": 2, - "borderStyle": "solid", - "borderColor": "rgb(162,217,192)", - "backgroundColor": "rgba(162,217,192,0.2)" - }, - "text": { - "fontSize": 50, - "textAlign": "center", - "color": "#41B883" - } - } - -/***/ }, -/* 4 */ -/***/ function(module, exports) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - // - // - // - // - // - // - // - // - // - // - - var modal = weex.requireModule('modal'); - var LOADMORE_COUNT = 4; - - exports.default = { - data: function data() { - return { - lists: [1, 2, 3, 4, 5] - }; - }, - - methods: { - fetch: function fetch(event) { - var _this = this; - - modal.toast({ message: 'loadmore', duration: 1 }); - - setTimeout(function () { - var length = _this.lists.length; - for (var i = length; i < length + LOADMORE_COUNT; ++i) { - _this.lists.push(i + 1); - } - }, 800); - } - } - }; - -/***/ }, -/* 5 */ -/***/ function(module, exports) { - - module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _h('list', { - staticClass: ["list"], - attrs: { - "loadmoreoffset": "10" - }, - on: { - "loadmore": _vm.fetch - } - }, [_vm._l((_vm.lists), function(num) { - return _h('cell', { - staticClass: ["cell"] - }, [_h('div', { - staticClass: ["panel"] - }, [_h('text', { - staticClass: ["text"] - }, [_vm._s(num)])])]) - })]) - },staticRenderFns: []} - module.exports.render._withStripped = true - -/***/ }, -/* 6 */ -/***/ function(module, exports) { - - module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _h('example') - },staticRenderFns: []} - module.exports.render._withStripped = true - -/***/ } -/******/ ]); \ No newline at end of file
