1 |
|
2 | (function(modules) {
|
3 |
|
4 | var installedModules = {};
|
5 |
|
6 |
|
7 | function __webpack_require__(moduleId) {
|
8 |
|
9 |
|
10 | if(installedModules[moduleId])
|
11 | return installedModules[moduleId].exports;
|
12 |
|
13 |
|
14 | var module = installedModules[moduleId] = {
|
15 | exports: {},
|
16 | id: moduleId,
|
17 | loaded: false
|
18 | };
|
19 |
|
20 |
|
21 | modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
22 |
|
23 |
|
24 | module.loaded = true;
|
25 |
|
26 |
|
27 | return module.exports;
|
28 | }
|
29 |
|
30 |
|
31 |
|
32 | __webpack_require__.m = modules;
|
33 |
|
34 |
|
35 | __webpack_require__.c = installedModules;
|
36 |
|
37 |
|
38 | __webpack_require__.p = "";
|
39 |
|
40 |
|
41 | return __webpack_require__(0);
|
42 | })
|
43 |
|
44 | ([
|
45 |
|
46 | (function(module, exports, __webpack_require__) {
|
47 |
|
48 | var __vue_exports__, __vue_options__
|
49 | var __vue_styles__ = []
|
50 |
|
51 |
|
52 | __vue_styles__.push(__webpack_require__(1)
|
53 | )
|
54 |
|
55 |
|
56 | __vue_exports__ = __webpack_require__(2)
|
57 |
|
58 |
|
59 | var __vue_template__ = __webpack_require__(3)
|
60 | __vue_options__ = __vue_exports__ = __vue_exports__ || {}
|
61 | if (
|
62 | typeof __vue_exports__.default === "object" ||
|
63 | typeof __vue_exports__.default === "function"
|
64 | ) {
|
65 | if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
|
66 | __vue_options__ = __vue_exports__ = __vue_exports__.default
|
67 | }
|
68 | if (typeof __vue_options__ === "function") {
|
69 | __vue_options__ = __vue_options__.options
|
70 | }
|
71 | __vue_options__.__file = "/Users/kw/github/weex-devtool/test/index.vue"
|
72 | __vue_options__.render = __vue_template__.render
|
73 | __vue_options__.staticRenderFns = __vue_template__.staticRenderFns
|
74 | __vue_options__._scopeId = "data-v-4d62b91c"
|
75 | __vue_options__.style = __vue_options__.style || {}
|
76 | __vue_styles__.forEach(function (module) {
|
77 | for (var name in module) {
|
78 | __vue_options__.style[name] = module[name]
|
79 | }
|
80 | })
|
81 | if (typeof __register_static_styles__ === "function") {
|
82 | __register_static_styles__(__vue_options__._scopeId, __vue_styles__)
|
83 | }
|
84 |
|
85 | module.exports = __vue_exports__
|
86 | module.exports.el = 'true'
|
87 | new Vue(module.exports)
|
88 |
|
89 |
|
90 | }),
|
91 |
|
92 | (function(module, exports) {
|
93 |
|
94 | module.exports = {
|
95 | "wrapper": {
|
96 | "alignItems": "center",
|
97 | "marginTop": 120
|
98 | },
|
99 | "title": {
|
100 | "paddingTop": 40,
|
101 | "paddingBottom": 40,
|
102 | "fontSize": 48
|
103 | },
|
104 | "logo": {
|
105 | "width": 360,
|
106 | "height": 156
|
107 | },
|
108 | "desc": {
|
109 | "paddingTop": 20,
|
110 | "color": "#888888",
|
111 | "fontSize": 24
|
112 | }
|
113 | }
|
114 |
|
115 | }),
|
116 |
|
117 | (function(module, exports) {
|
118 |
|
119 | 'use strict';
|
120 |
|
121 | Object.defineProperty(exports, "__esModule", {
|
122 | value: true
|
123 | });
|
124 |
|
125 |
|
126 |
|
127 |
|
128 |
|
129 |
|
130 |
|
131 |
|
132 |
|
133 |
|
134 |
|
135 |
|
136 |
|
137 |
|
138 |
|
139 |
|
140 | exports.default = {
|
141 | data: {
|
142 | logoUrl: 'http://img1.vued.vanthink.cn/vued08aa73a9ab65dcbd360ec54659ada97c.png',
|
143 | target: 'World2'
|
144 | },
|
145 |
|
146 | methods: {
|
147 | update: function update(e) {
|
148 | this.target = 'Weex';
|
149 | var a = { name: 'a', ege: 12 };
|
150 | console.log('target:', this.target);
|
151 | }
|
152 | }
|
153 | };
|
154 |
|
155 | }),
|
156 |
|
157 | (function(module, exports) {
|
158 |
|
159 | module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
|
160 | return _c('div', {
|
161 | staticClass: ["wrapper"],
|
162 | on: {
|
163 | "click": _vm.update
|
164 | }
|
165 | }, [_c('image', {
|
166 | staticClass: ["logo"],
|
167 | attrs: {
|
168 | "src": _vm.logoUrl
|
169 | }
|
170 | }), _c('text', {
|
171 | staticClass: ["title"]
|
172 | }, [_vm._v("Hello " + _vm._s(_vm.target))]), _c('text', {
|
173 | staticClass: ["desc"]
|
174 | }, [_vm._v("Now, let's use vue to build your weex app.")])])
|
175 | },staticRenderFns: []}
|
176 | module.exports.render._withStripped = true
|
177 |
|
178 | })
|
179 | ]); |
\ | No newline at end of file |