http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/749cf999/themes/weex/source/js/examples/textarea.web.js ---------------------------------------------------------------------- diff --git a/themes/weex/source/js/examples/textarea.web.js b/themes/weex/source/js/examples/textarea.web.js deleted file mode 100644 index 763de3b..0000000 --- a/themes/weex/source/js/examples/textarea.web.js +++ /dev/null @@ -1,582 +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/textarea/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-05a80ea6", __vue_options__) - } else { - hotAPI.reload("data-v-05a80ea6", __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-05a80ea6!./../../../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-05a80ea6!./../../../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.textarea {\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('textarea', { - staticClass: "textarea", - 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-05a80ea6", 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/textarea.weex.js ---------------------------------------------------------------------- diff --git a/themes/weex/source/js/examples/textarea.weex.js b/themes/weex/source/js/examples/textarea.weex.js deleted file mode 100644 index 4eddde1..0000000 --- a/themes/weex/source/js/examples/textarea.weex.js +++ /dev/null @@ -1,247 +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/textarea/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 = { - "textarea": { - "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('textarea', { - staticClass: ["textarea"], - 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/video.web.js ---------------------------------------------------------------------- diff --git a/themes/weex/source/js/examples/video.web.js b/themes/weex/source/js/examples/video.web.js deleted file mode 100644 index 7e392bd..0000000 --- a/themes/weex/source/js/examples/video.web.js +++ /dev/null @@ -1,593 +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/video/events.vue" - __vue_options__.render = __vue_template__.render - __vue_options__.staticRenderFns = __vue_template__.staticRenderFns - __vue_options__._scopeId = "data-v-f7b5a1c4" - - /* 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-f7b5a1c4", __vue_options__) - } else { - hotAPI.reload("data-v-f7b5a1c4", __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-f7b5a1c4&scoped=true!./../../../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-f7b5a1c4&scoped=true!./../../../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.video[data-v-f7b5a1c4] {\n width: 630px;\n height: 350px;\n margin-top: 60px;\n margin-left: 60px;\n}\n.info[data-v-f7b5a1c4] {\n margin-top: 40px;\n font-size: 40px;\n text-align: center;\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 { - state: '----', - src: 'http://flv2.bn.netease.com/videolib3/1611/01/XGqSL5981/SD/XGqSL5981-mobile.mp4' - }; - }, - - methods: { - onstart: function onstart(event) { - this.state = 'onstart'; - }, - onpause: function onpause(event) { - this.state = 'onpause'; - }, - onfinish: function onfinish(event) { - this.state = 'onfinish'; - }, - onfail: function onfail(event) { - this.state = 'onfinish'; - } - } - }; - -/***/ }, -/* 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('video', { - staticClass: "video", - attrs: { - "src": _vm.src, - "autoplay": "", - "controls": "" - }, - on: { - "start": _vm.onstart, - "pause": _vm.onpause, - "finish": _vm.onfinish, - "fail": _vm.onfail - } - }), _vm._v(" "), _c('text', { - staticClass: "info" - }, [_vm._v("state: " + _vm._s(_vm.state))])]) - },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-f7b5a1c4", 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/video.weex.js ---------------------------------------------------------------------- diff --git a/themes/weex/source/js/examples/video.weex.js b/themes/weex/source/js/examples/video.weex.js deleted file mode 100644 index 43d9564..0000000 --- a/themes/weex/source/js/examples/video.weex.js +++ /dev/null @@ -1,254 +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/video/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 = { - "video": { - "width": 630, - "height": 350, - "marginTop": 60, - "marginLeft": 60 - }, - "info": { - "marginTop": 40, - "fontSize": 40, - "textAlign": "center" - } - } - -/***/ }, -/* 4 */ -/***/ function(module, exports) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - - exports.default = { - data: function data() { - return { - state: '----', - src: 'http://flv2.bn.netease.com/videolib3/1611/01/XGqSL5981/SD/XGqSL5981-mobile.mp4' - }; - }, - - methods: { - onstart: function onstart(event) { - this.state = 'onstart'; - }, - onpause: function onpause(event) { - this.state = 'onpause'; - }, - onfinish: function onfinish(event) { - this.state = 'onfinish'; - }, - onfail: function onfail(event) { - this.state = 'onfinish'; - } - } - }; - -/***/ }, -/* 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('video', { - staticClass: ["video"], - attrs: { - "src": _vm.src, - "autoplay": "", - "controls": "" - }, - on: { - "start": _vm.onstart, - "pause": _vm.onpause, - "finish": _vm.onfinish, - "fail": _vm.onfail - } - }), _h('text', { - staticClass: ["info"] - }, ["state: " + _vm._s(_vm.state)])]) - },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/web.web.js ---------------------------------------------------------------------- diff --git a/themes/weex/source/js/examples/web.web.js b/themes/weex/source/js/examples/web.web.js deleted file mode 100644 index 9e59650..0000000 --- a/themes/weex/source/js/examples/web.web.js +++ /dev/null @@ -1,923 +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__(29) - __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 _complex = __webpack_require__(3); - - var _complex2 = _interopRequireDefault(_complex); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - exports.default = { - components: { Example: _complex2.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__(28) - __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/web/complex.vue" - __vue_options__.render = __vue_template__.render - __vue_options__.staticRenderFns = __vue_template__.staticRenderFns - __vue_options__._scopeId = "data-v-30fd4c14" - - /* 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-30fd4c14", __vue_options__) - } else { - hotAPI.reload("data-v-30fd4c14", __vue_options__) - } - })()} - if (__vue_options__.functional) {console.error("[vue-loader] complex.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-30fd4c14&scoped=true!./../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./complex.vue", function() { - var newContent = require("!!./../../../node_modules/css-loader/index.js!./../../../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-30fd4c14&scoped=true!./../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./complex.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.group[data-v-30fd4c14] {\n flex-direction: row;\n justify-content: space-around;\n margin-top: 20px;\n}\n.input[data-v-30fd4c14] {\n width: 600px;\n font-size: 36px;\n padding-top: 15px;\n padding-bottom: 15px;\n border-width: 2px;\n border-style: solid;\n border-color: #BBBBBB;\n}\n.button[data-v-30fd4c14] {\n width: 225px;\n text-align: center;\n background-color: #D3D3D3;\n padding-top: 15px;\n padding-bottom: 15px;\n margin-bottom: 30px;\n font-size: 30px;\n}\n.webview[data-v-30fd4c14] {\n margin-left: 75px;\n width: 600px;\n height: 750px;\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, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _defineProperty2 = __webpack_require__(9); - - var _defineProperty3 = _interopRequireDefault(_defineProperty2); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - // - // - // - // - // - // - // - // - // - // - // - // - // - - var webview = weex.requireModule('webview'); - var modal = weex.requireModule('modal'); - - exports.default = { - data: function data() { - return { - url: 'https://m.alibaba.com' - }; - }, - - methods: (0, _defineProperty3.default)({ - loadURL: function loadURL(event) { - var _this = this; - - this.url = this.$refs.input.value; - modal.toast({ message: 'load url:' + this.url }); - setTimeout(function () { - console.log('will go back.'); - modal.toast({ message: 'will go back' }); - webview.goBack(_this.$refs.webview); - }, 10000); - }, - reload: function reload(event) { - console.log('will reload webview'); - modal.toast({ message: 'reload' }); - webview.reload(this.$refs.webview); - }, - start: function start(event) { - console.log('pagestart', event); - modal.toast({ message: 'pagestart' }); - }, - finish: function finish(event) { - console.log('pagefinish', event); - modal.toast({ message: 'pagefinish' }); - } - }, 'finish', function finish(event) { - console.log('error', event); - modal.toast({ message: 'error' }); - }) - }; - -/***/ }, -/* 9 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - - exports.__esModule = true; - - var _defineProperty = __webpack_require__(10); - - var _defineProperty2 = _interopRequireDefault(_defineProperty); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - exports.default = function (obj, key, value) { - if (key in obj) { - (0, _defineProperty2.default)(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; - }; - -/***/ }, -/* 10 */ -/***/ function(module, exports, __webpack_require__) { - - module.exports = { "default": __webpack_require__(11), __esModule: true }; - -/***/ }, -/* 11 */ -/***/ function(module, exports, __webpack_require__) { - - __webpack_require__(12); - var $Object = __webpack_require__(15).Object; - module.exports = function defineProperty(it, key, desc){ - return $Object.defineProperty(it, key, desc); - }; - -/***/ }, -/* 12 */ -/***/ function(module, exports, __webpack_require__) { - - var $export = __webpack_require__(13); - // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) - $export($export.S + $export.F * !__webpack_require__(23), 'Object', {defineProperty: __webpack_require__(19).f}); - -/***/ }, -/* 13 */ -/***/ function(module, exports, __webpack_require__) { - - var global = __webpack_require__(14) - , core = __webpack_require__(15) - , ctx = __webpack_require__(16) - , hide = __webpack_require__(18) - , PROTOTYPE = 'prototype'; - - var $export = function(type, name, source){ - var IS_FORCED = type & $export.F - , IS_GLOBAL = type & $export.G - , IS_STATIC = type & $export.S - , IS_PROTO = type & $export.P - , IS_BIND = type & $export.B - , IS_WRAP = type & $export.W - , exports = IS_GLOBAL ? core : core[name] || (core[name] = {}) - , expProto = exports[PROTOTYPE] - , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE] - , key, own, out; - if(IS_GLOBAL)source = name; - for(key in source){ - // contains in native - own = !IS_FORCED && target && target[key] !== undefined; - if(own && key in exports)continue; - // export native or passed - out = own ? target[key] : source[key]; - // prevent global pollution for namespaces - exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] - // bind timers to global for call from export context - : IS_BIND && own ? ctx(out, global) - // wrap global constructors for prevent change them in library - : IS_WRAP && target[key] == out ? (function(C){ - var F = function(a, b, c){ - if(this instanceof C){ - switch(arguments.length){ - case 0: return new C; - case 1: return new C(a); - case 2: return new C(a, b); - } return new C(a, b, c); - } return C.apply(this, arguments); - }; - F[PROTOTYPE] = C[PROTOTYPE]; - return F; - // make static versions for prototype methods - })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; - // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% - if(IS_PROTO){ - (exports.virtual || (exports.virtual = {}))[key] = out; - // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% - if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out); - } - } - }; - // type bitmap - $export.F = 1; // forced - $export.G = 2; // global - $export.S = 4; // static - $export.P = 8; // proto - $export.B = 16; // bind - $export.W = 32; // wrap - $export.U = 64; // safe - $export.R = 128; // real proto method for `library` - module.exports = $export; - -/***/ }, -/* 14 */ -/***/ function(module, exports) { - - // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - var global = module.exports = typeof window != 'undefined' && window.Math == Math - ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')(); - if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef - -/***/ }, -/* 15 */ -/***/ function(module, exports) { - - var core = module.exports = {version: '2.4.0'}; - if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef - -/***/ }, -/* 16 */ -/***/ function(module, exports, __webpack_require__) { - - // optional / simple context binding - var aFunction = __webpack_require__(17); - module.exports = function(fn, that, length){ - aFunction(fn); - if(that === undefined)return fn; - switch(length){ - case 1: return function(a){ - return fn.call(that, a); - }; - case 2: return function(a, b){ - return fn.call(that, a, b); - }; - case 3: return function(a, b, c){ - return fn.call(that, a, b, c); - }; - } - return function(/* ...args */){ - return fn.apply(that, arguments); - }; - }; - -/***/ }, -/* 17 */ -/***/ function(module, exports) { - - module.exports = function(it){ - if(typeof it != 'function')throw TypeError(it + ' is not a function!'); - return it; - }; - -/***/ }, -/* 18 */ -/***/ function(module, exports, __webpack_require__) { - - var dP = __webpack_require__(19) - , createDesc = __webpack_require__(27); - module.exports = __webpack_require__(23) ? function(object, key, value){ - return dP.f(object, key, createDesc(1, value)); - } : function(object, key, value){ - object[key] = value; - return object; - }; - -/***/ }, -/* 19 */ -/***/ function(module, exports, __webpack_require__) { - - var anObject = __webpack_require__(20) - , IE8_DOM_DEFINE = __webpack_require__(22) - , toPrimitive = __webpack_require__(26) - , dP = Object.defineProperty; - - exports.f = __webpack_require__(23) ? Object.defineProperty : function defineProperty(O, P, Attributes){ - anObject(O); - P = toPrimitive(P, true); - anObject(Attributes); - if(IE8_DOM_DEFINE)try { - return dP(O, P, Attributes); - } catch(e){ /* empty */ } - if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!'); - if('value' in Attributes)O[P] = Attributes.value; - return O; - }; - -/***/ }, -/* 20 */ -/***/ function(module, exports, __webpack_require__) { - - var isObject = __webpack_require__(21); - module.exports = function(it){ - if(!isObject(it))throw TypeError(it + ' is not an object!'); - return it; - }; - -/***/ }, -/* 21 */ -/***/ function(module, exports) { - - module.exports = function(it){ - return typeof it === 'object' ? it !== null : typeof it === 'function'; - }; - -/***/ }, -/* 22 */ -/***/ function(module, exports, __webpack_require__) { - - module.exports = !__webpack_require__(23) && !__webpack_require__(24)(function(){ - return Object.defineProperty(__webpack_require__(25)('div'), 'a', {get: function(){ return 7; }}).a != 7; - }); - -/***/ }, -/* 23 */ -/***/ function(module, exports, __webpack_require__) { - - // Thank's IE8 for his funny defineProperty - module.exports = !__webpack_require__(24)(function(){ - return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7; - }); - -/***/ }, -/* 24 */ -/***/ function(module, exports) { - - module.exports = function(exec){ - try { - return !!exec(); - } catch(e){ - return true; - } - }; - -/***/ }, -/* 25 */ -/***/ function(module, exports, __webpack_require__) { - - var isObject = __webpack_require__(21) - , document = __webpack_require__(14).document - // in old IE typeof document.createElement is 'object' - , is = isObject(document) && isObject(document.createElement); - module.exports = function(it){ - return is ? document.createElement(it) : {}; - }; - -/***/ }, -/* 26 */ -/***/ function(module, exports, __webpack_require__) { - - // 7.1.1 ToPrimitive(input [, PreferredType]) - var isObject = __webpack_require__(21); - // instead of the ES6 spec version, we didn't implement @@toPrimitive case - // and the second argument - flag - preferred type is a string - module.exports = function(it, S){ - if(!isObject(it))return it; - var fn, val; - if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val; - if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val; - if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val; - throw TypeError("Can't convert object to primitive value"); - }; - -/***/ }, -/* 27 */ -/***/ function(module, exports) { - - module.exports = function(bitmap, value){ - return { - enumerable : !(bitmap & 1), - configurable: !(bitmap & 2), - writable : !(bitmap & 4), - value : value - }; - }; - -/***/ }, -/* 28 */ -/***/ 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('div', { - staticClass: "group" - }, [_c('input', { - ref: "input", - staticClass: "input", - attrs: { - "type": "url", - "autofocus": "false", - "value": "https://m.taobao.com" - }, - domProps: { - "value": "https://m.taobao.com" - } - })]), _vm._v(" "), _c('div', { - staticClass: "group" - }, [_c('text', { - staticClass: "button", - on: { - "click": _vm.loadURL - } - }, [_vm._v("LoadURL")]), _vm._v(" "), _c('text', { - staticClass: "button", - on: { - "click": _vm.reload - } - }, [_vm._v("reload")])]), _vm._v(" "), _c('web', { - ref: "webview", - staticClass: "webview", - attrs: { - "src": _vm.url - }, - on: { - "pagestart": _vm.start, - "pagefinish": _vm.finish, - "error": _vm.error - } - })], 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-30fd4c14", module.exports) - } - } - -/***/ }, -/* 29 */ -/***/ 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
