@@ -7,10 +7,10 @@ export function render(_ctx) {
7
7
const t0 = _template (\\" <div>count is <!>.</div>\\ " )
8
8
const n0 = t0 ()
9
9
const { 0: [n3 , { 1: [n2],}],} = _children(n0)
10
- const n1 = _createTextNode(count.value )
10
+ const n1 = _createTextNode(_ctx.count )
11
11
_insert(n1, n3, n2)
12
12
_effect(() => {
13
- _setText (n1 , undefined , count . value )
13
+ _setText (n1 , undefined , _ctx . count )
14
14
} )
15
15
return n0
16
16
}"
@@ -24,7 +24,7 @@ export function render(_ctx) {
24
24
const n0 = t0 ()
25
25
const { 0: [n1],} = _children (n0 )
26
26
_effect (() => {
27
- _setAttr (n1 , \\" id\\ " , undefined , id . value )
27
+ _setAttr (n1 , \\" id\\ " , undefined , _ctx . id )
28
28
})
29
29
return n0
30
30
} "
@@ -48,7 +48,7 @@ export function render(_ctx) {
48
48
const n0 = t0 ()
49
49
const { 0: [n1],} = _children (n0 )
50
50
_effect (() => {
51
- _setHtml (n1 , undefined , test )
51
+ _setHtml (n1 , undefined , _ctx . test )
52
52
})
53
53
return n0
54
54
} "
@@ -74,7 +74,7 @@ export function render(_ctx) {
74
74
const n0 = t0 ()
75
75
const { 0: [n1],} = _children (n0 )
76
76
_effect (() => {
77
- _setHtml (n1 , undefined , code . value )
77
+ _setHtml (n1 , undefined , _ctx . code )
78
78
})
79
79
return n0
80
80
} "
@@ -87,28 +87,28 @@ export function render(_ctx) {
87
87
const t0 = _template (\\" <a></a><form></form><a></a><div></div><div></div><a></a><div></div><input><input><input><input><input><input><input><input><input><input><input><input><input><input><input>\\ " )
88
88
const n0 = t0 ()
89
89
const { 0: [n1], 1: [n2], 2: [n3], 3: [n4], 4: [n5], 5: [n6], 6: [n7], 7: [n8], 8: [n9], 9: [n10], 10: [n11], 11: [n12], 12: [n13], 13: [n14], 14: [n15], 15: [n16], 16: [n17], 17: [n18], 18: [n19], 19: [n20], 20: [n21], 21: [n22],} = _children (n0 )
90
- _on (n1 , \\" click\\ " , _withModifiers (handleEvent , [\\" stop\\ " ]))
91
- _on (n2 , \\" submit\\ " , _withModifiers (handleEvent , [\\" prevent\\ " ]))
92
- _on (n3 , \\" click\\ " , _withModifiers (handleEvent , [\\" stop\\ " , \\" prevent\\ " ]))
93
- _on (n4 , \\" click\\ " , _withModifiers (handleEvent , [\\" self\\ " ]))
94
- _on (n5 , \\" click\\ " , handleEvent , { capture: true })
95
- _on (n6 , \\" click\\ " , handleEvent , { once: true })
96
- _on (n7 , \\" scroll\\ " , handleEvent , { passive: true })
97
- _on (n8 , \\" contextmenu\\ " , _withModifiers (handleEvent , [\\" right\\ " ]))
98
- _on (n9 , \\" click\\ " , _withModifiers (handleEvent , [\\" left\\ " ]))
99
- _on (n10 , \\" mouseup\\ " , _withModifiers (handleEvent , [\\" middle\\ " ]))
100
- _on (n11 , \\" contextmenu\\ " , _withModifiers (handleEvent , [\\" right\\ " ]))
101
- _on (n12 , \\" keyup\\ " , _withKeys (handleEvent , [\\" enter\\ " ]))
102
- _on (n13 , \\" keyup\\ " , _withKeys (handleEvent , [\\" tab\\ " ]))
103
- _on (n14 , \\" keyup\\ " , _withKeys (handleEvent , [\\" delete\\ " ]))
104
- _on (n15 , \\" keyup\\ " , _withKeys (handleEvent , [\\" esc\\ " ]))
105
- _on (n16 , \\" keyup\\ " , _withKeys (handleEvent , [\\" space\\ " ]))
106
- _on (n17 , \\" keyup\\ " , _withKeys (handleEvent , [\\" up\\ " ]))
107
- _on (n18 , \\" keyup\\ " , _withKeys (handleEvent , [\\" down\\ " ]))
108
- _on (n19 , \\" keyup\\ " , _withKeys (handleEvent , [\\" left\\ " ]))
109
- _on (n20 , \\" keyup\\ " , _withModifiers (submit , [\\" middle\\ " ]))
110
- _on (n21 , \\" keyup\\ " , _withModifiers (submit , [\\" middle\\ " , \\" self\\ " ]))
111
- _on (n22 , \\" keyup\\ " , _withKeys (_withModifiers (handleEvent , [\\" self\\ " ]), [\\" enter\\ " ]))
90
+ _on (n1 , \\" click\\ " , _withModifiers (_ctx . handleEvent , [\\" stop\\ " ]))
91
+ _on (n2 , \\" submit\\ " , _withModifiers (_ctx . handleEvent , [\\" prevent\\ " ]))
92
+ _on (n3 , \\" click\\ " , _withModifiers (_ctx . handleEvent , [\\" stop\\ " , \\" prevent\\ " ]))
93
+ _on (n4 , \\" click\\ " , _withModifiers (_ctx . handleEvent , [\\" self\\ " ]))
94
+ _on (n5 , \\" click\\ " , _ctx . handleEvent , { capture: true })
95
+ _on (n6 , \\" click\\ " , _ctx . handleEvent , { once: true })
96
+ _on (n7 , \\" scroll\\ " , _ctx . handleEvent , { passive: true })
97
+ _on (n8 , \\" contextmenu\\ " , _withModifiers (_ctx . handleEvent , [\\" right\\ " ]))
98
+ _on (n9 , \\" click\\ " , _withModifiers (_ctx . handleEvent , [\\" left\\ " ]))
99
+ _on (n10 , \\" mouseup\\ " , _withModifiers (_ctx . handleEvent , [\\" middle\\ " ]))
100
+ _on (n11 , \\" contextmenu\\ " , _withModifiers (_ctx . handleEvent , [\\" right\\ " ]))
101
+ _on (n12 , \\" keyup\\ " , _withKeys (_ctx . handleEvent , [\\" enter\\ " ]))
102
+ _on (n13 , \\" keyup\\ " , _withKeys (_ctx . handleEvent , [\\" tab\\ " ]))
103
+ _on (n14 , \\" keyup\\ " , _withKeys (_ctx . handleEvent , [\\" delete\\ " ]))
104
+ _on (n15 , \\" keyup\\ " , _withKeys (_ctx . handleEvent , [\\" esc\\ " ]))
105
+ _on (n16 , \\" keyup\\ " , _withKeys (_ctx . handleEvent , [\\" space\\ " ]))
106
+ _on (n17 , \\" keyup\\ " , _withKeys (_ctx . handleEvent , [\\" up\\ " ]))
107
+ _on (n18 , \\" keyup\\ " , _withKeys (_ctx . handleEvent , [\\" down\\ " ]))
108
+ _on (n19 , \\" keyup\\ " , _withKeys (_ctx . handleEvent , [\\" left\\ " ]))
109
+ _on (n20 , \\" keyup\\ " , _withModifiers (_ctx . submit , [\\" middle\\ " ]))
110
+ _on (n21 , \\" keyup\\ " , _withModifiers (_ctx . submit , [\\" middle\\ " , \\" self\\ " ]))
111
+ _on (n22 , \\" keyup\\ " , _withKeys (_withModifiers (_ctx . handleEvent , [\\" self\\ " ]), [\\" enter\\ " ]))
112
112
return n0
113
113
} "
114
114
` ;
@@ -120,7 +120,7 @@ export function render(_ctx) {
120
120
const t0 = _template (\\" <div></div>\\ " )
121
121
const n0 = t0 ()
122
122
const { 0: [n1],} = _children (n0 )
123
- _on (n1 , \\" click\\ " , handleClick )
123
+ _on (n1 , \\" click\\ " , _ctx . handleClick )
124
124
return n0
125
125
} "
126
126
` ;
@@ -132,7 +132,7 @@ export function render(_ctx) {
132
132
const t0 = _template (\\" <div></div>\\ " )
133
133
const n0 = t0 ()
134
134
const { 0: [n1],} = _children (n0 )
135
- _setAttr (n1 , \\" id\\ " , undefined , foo )
135
+ _setAttr (n1 , \\" id\\ " , undefined , _ctx . foo )
136
136
return n0
137
137
} "
138
138
` ;
@@ -144,9 +144,9 @@ export function render(_ctx) {
144
144
const t0 = _template (\\" <div> <span></span></div>\\ " )
145
145
const n0 = t0 ()
146
146
const { 0: [n3 , { 1: [n2],}],} = _children(n0)
147
- const n1 = _createTextNode(msg.value )
148
- _setText(n1, undefined, msg.value )
149
- _setAttr(n2, \\ "class\\ ", undefined, clz.value )
147
+ const n1 = _createTextNode(_ctx.msg )
148
+ _setText(n1, undefined, _ctx.msg )
149
+ _setAttr(n2, \\ "class\\ ", undefined, _ctx.clz )
150
150
_prepend(n3, n1)
151
151
return n0
152
152
}"
@@ -169,13 +169,13 @@ export function render(_ctx) {
169
169
const t0 = _template (\\" <div></div><div><Comp></Comp></div>\\ " )
170
170
const n0 = t0 ()
171
171
const { 1: [n2],} = _children (n0 )
172
- const n1 = _createTextNode (bar )
172
+ const n1 = _createTextNode (_ctx . bar )
173
173
_append (n2 , n1 )
174
174
_effect (() => {
175
- _setText (n1 , undefined , bar )
175
+ _setText (n1 , undefined , _ctx . bar )
176
176
})
177
177
_effect (() => {
178
- _setAttr (n2 , \\" id\\ " , undefined , foo )
178
+ _setAttr (n2 , \\" id\\ " , undefined , _ctx . foo )
179
179
})
180
180
return n0
181
181
} "
@@ -188,13 +188,13 @@ export function render(_ctx) {
188
188
const t0 = _template (\\" <div :id=\\\\\\ " foo \\\\\\" ><Comp></Comp>{{ bar }}</div><div><Comp></Comp></div>\\ " )
189
189
const n0 = t0 ()
190
190
const { 1: [n2],} = _children (n0 )
191
- const n1 = _createTextNode (bar . value )
191
+ const n1 = _createTextNode (_ctx . bar )
192
192
_append (n2 , n1 )
193
193
_effect (() => {
194
- _setText (n1 , undefined , bar . value )
194
+ _setText (n1 , undefined , _ctx . bar )
195
195
})
196
196
_effect (() => {
197
- _setAttr (n2 , \\" id\\ " , undefined , foo . value )
197
+ _setAttr (n2 , \\" id\\ " , undefined , _ctx . foo )
198
198
})
199
199
return n0
200
200
} "
@@ -220,7 +220,7 @@ export function render(_ctx) {
220
220
const n0 = t0 ()
221
221
const { 0: [n1],} = _children (n0 )
222
222
_effect (() => {
223
- _setText (n1 , undefined , str . value )
223
+ _setText (n1 , undefined , _ctx . str )
224
224
})
225
225
return n0
226
226
} "
@@ -253,24 +253,24 @@ export function render(_ctx) {
253
253
const t0 = _template (\\" <button>foo<!>foo</button>\\ " )
254
254
const n0 = t0 ()
255
255
const { 0: [n4 , { 1: [n5],}],} = _children(n0)
256
- const n1 = _createTextNode(count)
257
- const n2 = _createTextNode(count)
258
- const n3 = _createTextNode(count)
256
+ const n1 = _createTextNode(_ctx. count)
257
+ const n2 = _createTextNode(_ctx. count)
258
+ const n3 = _createTextNode(_ctx. count)
259
259
_prepend(n4, n1)
260
260
_insert(n2, n4, n5)
261
261
_append(n4, n3)
262
- _on(n4, \\ "click\\ ", handleClick)
262
+ _on(n4, \\ "click\\ ", _ctx. handleClick)
263
263
_effect(() => {
264
- _setText (n1 , undefined , count )
264
+ _setText (n1 , undefined , _ctx . count )
265
265
} )
266
266
_effect(() => {
267
- _setText (n2 , undefined , count )
267
+ _setText (n2 , undefined , _ctx . count )
268
268
} )
269
269
_effect(() => {
270
- _setText (n3 , undefined , count )
270
+ _setText (n3 , undefined , _ctx . count )
271
271
} )
272
272
_effect(() => {
273
- _setAttr (n4 , \\" id\\ " , undefined , count )
273
+ _setAttr (n4 , \\" id\\ " , undefined , _ctx . count )
274
274
} )
275
275
return n0
276
276
}"
0 commit comments