UNPKG

qt-scan-broadcast

Version:

qt-scan-broadcast extend for weex

214 lines (180 loc) 4.85 kB
// { "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__ = [] /* styles */ __vue_styles__.push(__webpack_require__(575) ) /* script */ __vue_exports__ = __webpack_require__(576) /* template */ var __vue_template__ = __webpack_require__(577) __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/bobning/work/source/weex_fork/examples/vue/syntax/script-data.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 = 'true' new Vue(module.exports) /***/ }, /***/ 575: /***/ function(module, exports) { module.exports = { "title": { "fontSize": 48 } } /***/ }, /***/ 576: /***/ function(module, exports) { 'use strict'; // // // // // // // // // // // // // // // // // // // // // // // // // // if this is a sub component and the parent component could set `firstName` and `lastName` by: // // `<subcomponent first-name="John" last-name="Smith"></subcomponent>` // // but the `date` won't be changed from parent component // module.exports = { // props: ['firstName', 'lastName'], // data: function () { // return { // date: Date.now() // } // } // } // // more `props` formats like // module.exports = { // props: { // firstName: { // default: 'John' // }, // lastName: { // type: String, // default: 'Smith' // } // }, // data: function () { // return { // date: Date.now() // } // } // } module.exports = { data: function data() { return { firstName: 'John', lastName: 'Smith', date: Date.now() }; }, methods: { update: function update() { this.today = '2016-01-01'; console.log('today:', this.today); } }, computed: { fullName: function fullName() { return this.firstName + ' ' + this.lastName; }, today: { get: function get() { return new Date(this.date).toDateString(); }, set: function set(v) { this.date = Date.parse(v); } } } }; /***/ }, /***/ 577: /***/ function(module, exports) { module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; return _h('div', { on: { "click": _vm.update } }, [_h('text', { staticClass: ["title"] }, [_vm._s(_vm.firstName)]), _h('text', { staticClass: ["title"] }, [_vm._s(_vm.lastName)]), _h('text', { staticClass: ["title"] }, [_vm._s(_vm.fullName)]), _h('text', { staticClass: ["title"] }, [_vm._s(_vm.today)])]) },staticRenderFns: []} module.exports.render._withStripped = true /***/ } /******/ });