blob: 4c5b691c80d67616ac8d43022c12ed69d3d4e830 [file] [log] [blame]
/******/ (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 __weex_template__ = __webpack_require__(339)
var __weex_style__ = __webpack_require__(340)
var __weex_script__ = __webpack_require__(341)
__weex_define__('@weex-component/491ca7f339a97e2fe3e130536e8fb536', [], function(__weex_require__, __weex_exports__, __weex_module__) {
__weex_script__(__weex_module__, __weex_exports__, __weex_require__)
if (__weex_exports__.__esModule && __weex_exports__.default) {
__weex_module__.exports = __weex_exports__.default
}
__weex_module__.exports.template = __weex_template__
__weex_module__.exports.style = __weex_style__
})
__weex_bootstrap__('@weex-component/491ca7f339a97e2fe3e130536e8fb536',undefined,undefined)
/***/ },
/***/ 34:
/***/ function(module, exports) {
var core = module.exports = {version: '2.4.0'};
if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
/***/ },
/***/ 189:
/***/ function(module, exports, __webpack_require__) {
module.exports = { "default": __webpack_require__(190), __esModule: true };
/***/ },
/***/ 190:
/***/ function(module, exports, __webpack_require__) {
var core = __webpack_require__(34)
, $JSON = core.JSON || (core.JSON = {stringify: JSON.stringify});
module.exports = function stringify(it){ // eslint-disable-line no-unused-vars
return $JSON.stringify.apply($JSON, arguments);
};
/***/ },
/***/ 339:
/***/ function(module, exports) {
module.exports = {
"type": "div",
"children": [
{
"type": "text",
"classList": [
"title"
],
"repeat": {
"expression": function () {return this.list},
"value": "value"
},
"attr": {
"value": function () {return this.value}
}
}
]
}
/***/ },
/***/ 340:
/***/ function(module, exports) {
module.exports = {
"title": {
"fontSize": 48
}
}
/***/ },
/***/ 341:
/***/ function(module, exports, __webpack_require__) {
module.exports = function(module, exports, __weex_require__){'use strict';
var _stringify = __webpack_require__(189);
var _stringify2 = _interopRequireDefault(_stringify);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
module.exports = {
data: function () {return {
list: []
}},
events: {
custom: function custom(e) {
this.list.push('custom: ' + (0, _stringify2.default)(e.detail));
}
},
ready: function ready() {
function custom2(e) {
this.list.push('custom2: ' + (0, _stringify2.default)(e.detail));
}
this.$on('custom2', custom2);
this.$emit('custom', { x: 1 });
this.$emit('custom2', { x: 1 });
this.$off('custom2', custom2);
this.$emit('custom', { x: 2 });
this.$emit('custom2', { x: 2 });
this.$off('custom');
this.$emit('custom', { x: 3 });
this.$emit('custom2', { x: 3 });
}
};}
/* generated by weex-loader */
/***/ }
/******/ });