@@ -4,7 +4,7 @@ exports[`compile > bindings 1`] = `
4
4
"import { renderEffect as _renderEffect, setText as _setText, template as _template } from 'vue/vapor';
5
5
const t0 = _template("<div></div>")
6
6
7
- export function render(_ctx, _props ) {
7
+ export function render(_ctx, $props ) {
8
8
const n0 = t0()
9
9
_renderEffect(() => _setText(n0, "count is ", _ctx.count, "."))
10
10
return n0
@@ -15,7 +15,7 @@ exports[`compile > custom directive > basic 1`] = `
15
15
"import { resolveDirective as _resolveDirective, withDirectives as _withDirectives, template as _template } from 'vue/vapor';
16
16
const t0 = _template("<div></div>")
17
17
18
- export function render(_ctx, _props ) {
18
+ export function render(_ctx, $props ) {
19
19
const _directive_test = _resolveDirective("test")
20
20
const _directive_hello = _resolveDirective("hello")
21
21
const n0 = t0()
@@ -28,7 +28,7 @@ exports[`compile > custom directive > component 1`] = `
28
28
"import { resolveComponent as _resolveComponent, resolveDirective as _resolveDirective, createComponent as _createComponent, withDirectives as _withDirectives, insert as _insert, createIf as _createIf, template as _template } from 'vue/vapor';
29
29
const t0 = _template("<div></div>")
30
30
31
- export function render(_ctx, _props ) {
31
+ export function render(_ctx, $props ) {
32
32
const _component_Bar = _resolveComponent("Bar")
33
33
const _component_Comp = _resolveComponent("Comp")
34
34
const _directive_hello = _resolveDirective("hello")
@@ -56,7 +56,7 @@ exports[`compile > directives > custom directive > basic 1`] = `
56
56
"import { withDirectives as _withDirectives, template as _template } from 'vue/vapor';
57
57
const t0 = _template("<div></div>")
58
58
59
- export function render(_ctx, _props ) {
59
+ export function render(_ctx, $props ) {
60
60
const n0 = t0()
61
61
_withDirectives(n0, [[_ctx.vExample]])
62
62
return n0
@@ -67,7 +67,7 @@ exports[`compile > directives > custom directive > binding value 1`] = `
67
67
"import { withDirectives as _withDirectives, template as _template } from 'vue/vapor';
68
68
const t0 = _template("<div></div>")
69
69
70
- export function render(_ctx, _props ) {
70
+ export function render(_ctx, $props ) {
71
71
const n0 = t0()
72
72
_withDirectives(n0, [[_ctx.vExample, () => _ctx.msg]])
73
73
return n0
@@ -78,7 +78,7 @@ exports[`compile > directives > custom directive > dynamic parameters 1`] = `
78
78
"import { withDirectives as _withDirectives, template as _template } from 'vue/vapor';
79
79
const t0 = _template("<div></div>")
80
80
81
- export function render(_ctx, _props ) {
81
+ export function render(_ctx, $props ) {
82
82
const n0 = t0()
83
83
_withDirectives(n0, [[_ctx.vExample, () => _ctx.msg, _ctx.foo]])
84
84
return n0
@@ -89,7 +89,7 @@ exports[`compile > directives > custom directive > modifiers 1`] = `
89
89
"import { withDirectives as _withDirectives, template as _template } from 'vue/vapor';
90
90
const t0 = _template("<div></div>")
91
91
92
- export function render(_ctx, _props ) {
92
+ export function render(_ctx, $props ) {
93
93
const n0 = t0()
94
94
_withDirectives(n0, [[_ctx.vExample, () => _ctx.msg, void 0, { bar: true }]])
95
95
return n0
@@ -100,7 +100,7 @@ exports[`compile > directives > custom directive > modifiers w/o binding 1`] = `
100
100
"import { withDirectives as _withDirectives, template as _template } from 'vue/vapor';
101
101
const t0 = _template("<div></div>")
102
102
103
- export function render(_ctx, _props ) {
103
+ export function render(_ctx, $props ) {
104
104
const n0 = t0()
105
105
_withDirectives(n0, [[_ctx.vExample, void 0, void 0, { "foo-bar": true }]])
106
106
return n0
@@ -111,7 +111,7 @@ exports[`compile > directives > custom directive > static parameters 1`] = `
111
111
"import { withDirectives as _withDirectives, template as _template } from 'vue/vapor';
112
112
const t0 = _template("<div></div>")
113
113
114
- export function render(_ctx, _props ) {
114
+ export function render(_ctx, $props ) {
115
115
const n0 = t0()
116
116
_withDirectives(n0, [[_ctx.vExample, () => _ctx.msg, "foo"]])
117
117
return n0
@@ -122,7 +122,7 @@ exports[`compile > directives > custom directive > static parameters and modifie
122
122
"import { withDirectives as _withDirectives, template as _template } from 'vue/vapor';
123
123
const t0 = _template("<div></div>")
124
124
125
- export function render(_ctx, _props ) {
125
+ export function render(_ctx, $props ) {
126
126
const n0 = t0()
127
127
_withDirectives(n0, [[_ctx.vExample, () => _ctx.msg, "foo", { bar: true }]])
128
128
return n0
@@ -133,7 +133,7 @@ exports[`compile > directives > v-cloak > basic 1`] = `
133
133
"import { template as _template } from 'vue/vapor';
134
134
const t0 = _template("<div>test</div>")
135
135
136
- export function render(_ctx, _props ) {
136
+ export function render(_ctx, $props ) {
137
137
const n0 = t0()
138
138
return n0
139
139
}"
@@ -143,7 +143,7 @@ exports[`compile > directives > v-pre > basic 1`] = `
143
143
"import { template as _template } from 'vue/vapor';
144
144
const t0 = _template("<div :id=\\"foo\\"><Comp></Comp>{{ bar }}</div>")
145
145
146
- export function render(_ctx, _props ) {
146
+ export function render(_ctx, $props ) {
147
147
const n0 = t0()
148
148
return n0
149
149
}"
@@ -154,7 +154,7 @@ exports[`compile > directives > v-pre > should not affect siblings after it 1`]
154
154
const t0 = _template("<div :id=\\"foo\\"><Comp></Comp>{{ bar }}</div>")
155
155
const t1 = _template("<div></div>")
156
156
157
- export function render(_ctx, _props ) {
157
+ export function render(_ctx, $props ) {
158
158
const _component_Comp = _resolveComponent("Comp")
159
159
const n0 = t0()
160
160
const n3 = t1()
@@ -169,7 +169,7 @@ export function render(_ctx, _props) {
169
169
exports[`compile > dynamic root 1`] = `
170
170
"import { createTextNode as _createTextNode } from 'vue/vapor';
171
171
172
- export function render(_ctx, _props ) {
172
+ export function render(_ctx, $props ) {
173
173
const n0 = _createTextNode([1, 2])
174
174
return n0
175
175
}"
@@ -180,7 +180,7 @@ exports[`compile > dynamic root nodes and interpolation 1`] = `
180
180
const t0 = _template("<button></button>")
181
181
_delegateEvents("click")
182
182
183
- export function render(_ctx, _props ) {
183
+ export function render(_ctx, $props ) {
184
184
const n0 = t0()
185
185
_delegate(n0, "click", () => _ctx.handleClick)
186
186
_renderEffect(() => _setText(n0, _ctx.count, "foo", _ctx.count, "foo", _ctx.count))
@@ -210,7 +210,7 @@ const t0 = _template("<p></p>")
210
210
const t1 = _template("<span></span>")
211
211
const t2 = _template("<div></div>")
212
212
213
- export function render(_ctx, _props ) {
213
+ export function render(_ctx, $props ) {
214
214
const n0 = t0()
215
215
const n1 = t1()
216
216
const n2 = t2()
@@ -222,17 +222,17 @@ exports[`compile > props bindings 1`] = `
222
222
"import { renderEffect as _renderEffect, setDynamicProp as _setDynamicProp, template as _template } from 'vue/vapor';
223
223
const t0 = _template("<div>count</div>")
224
224
225
- export function render(_ctx, _props ) {
225
+ export function render(_ctx, $props ) {
226
226
const n0 = t0()
227
- _renderEffect(() => _setDynamicProp(n0, "count", _props .count))
227
+ _renderEffect(() => _setDynamicProp(n0, "count", $props .count))
228
228
return n0
229
229
}"
230
230
`;
231
231
232
232
exports[`compile > static + dynamic root 1`] = `
233
233
"import { createTextNode as _createTextNode } from 'vue/vapor';
234
234
235
- export function render(_ctx, _props ) {
235
+ export function render(_ctx, $props ) {
236
236
const n0 = _createTextNode([1, 2, "3", 4, 5, "6", 7, 8, "9", 'A', 'B'])
237
237
return n0
238
238
}"
@@ -242,7 +242,7 @@ exports[`compile > static template 1`] = `
242
242
"import { template as _template } from 'vue/vapor';
243
243
const t0 = _template("<div><p>hello</p><input><span></span></div>")
244
244
245
- export function render(_ctx, _props ) {
245
+ export function render(_ctx, $props ) {
246
246
const n0 = t0()
247
247
return n0
248
248
}"
0 commit comments