@@ -16,7 +16,7 @@ if (_.inBrowser) {
16
16
data : {
17
17
b : 'B'
18
18
} ,
19
- template : '<test bind- b="b" $.child></test>' ,
19
+ template : '<test v-bind: b="b" $.child></test>' ,
20
20
components : {
21
21
test : {
22
22
props : [ 'b' ] ,
@@ -40,7 +40,7 @@ if (_.inBrowser) {
40
40
it ( 'with filters' , function ( done ) {
41
41
var vm = new Vue ( {
42
42
el : el ,
43
- template : '<test bind- name="a | test"></test>' ,
43
+ template : '<test : name="a | test"></test>' ,
44
44
data : {
45
45
a : 123
46
46
} ,
@@ -73,7 +73,7 @@ if (_.inBrowser) {
73
73
a : 'A'
74
74
}
75
75
} ,
76
- template : '<test bind- testt@="test" bind- bb@="b" bind- a@=" test.a " $.child></test>' ,
76
+ template : '<test v-bind: testt@="test" : bb@="b" : a@=" test.a " $.child></test>' ,
77
77
components : {
78
78
test : {
79
79
props : [ 'testt' , 'bb' , 'a' ] ,
@@ -123,7 +123,7 @@ if (_.inBrowser) {
123
123
data : {
124
124
b : 'B'
125
125
} ,
126
- template : '<test bind- b*="b" $.child></test>' ,
126
+ template : '<test : b*="b" $.child></test>' ,
127
127
components : {
128
128
test : {
129
129
props : [ 'b' ] ,
@@ -145,7 +145,7 @@ if (_.inBrowser) {
145
145
data : {
146
146
b : 'B'
147
147
} ,
148
- template : '<test bind- b@=" b + \'B\'" $.child></test>' ,
148
+ template : '<test : b@=" b + \'B\'" $.child></test>' ,
149
149
components : {
150
150
test : {
151
151
props : [ 'b' ] ,
@@ -170,7 +170,7 @@ if (_.inBrowser) {
170
170
it ( 'warn expect two-way' , function ( ) {
171
171
new Vue ( {
172
172
el : el ,
173
- template : '<test bind- test="ok"></test>' ,
173
+ template : '<test : test="ok"></test>' ,
174
174
data : {
175
175
ok : 'hi'
176
176
} ,
@@ -190,7 +190,7 @@ if (_.inBrowser) {
190
190
it ( 'warn $data as prop' , function ( ) {
191
191
new Vue ( {
192
192
el : el ,
193
- template : '<test bind-$data="ok" ></test>' ,
193
+ template : '<test></test>' ,
194
194
data : {
195
195
ok : 'hi'
196
196
} ,
@@ -206,7 +206,7 @@ if (_.inBrowser) {
206
206
it ( 'warn invalid keys' , function ( ) {
207
207
new Vue ( {
208
208
el : el ,
209
- template : '<test bind- a.b.c="test"></test>' ,
209
+ template : '<test : a.b.c="test"></test>' ,
210
210
components : {
211
211
test : {
212
212
props : [ 'a.b.c' ]
@@ -248,7 +248,7 @@ if (_.inBrowser) {
248
248
a : 'A' ,
249
249
b : 'B'
250
250
} ,
251
- template : '<test bind- aa@="a" bind- bb="b"></test>' ,
251
+ template : '<test : aa@="a" : bb="b"></test>' ,
252
252
components : {
253
253
test : {
254
254
props : [ 'aa' , 'bb' ] ,
@@ -279,7 +279,7 @@ if (_.inBrowser) {
279
279
it ( 'block instance with replace:true' , function ( ) {
280
280
new Vue ( {
281
281
el : el ,
282
- template : '<test bind- b="a" bind- c="d"></test>' ,
282
+ template : '<test : b="a" : c="d"></test>' ,
283
283
data : {
284
284
a : 'AAA' ,
285
285
d : 'DDD'
@@ -300,7 +300,7 @@ if (_.inBrowser) {
300
300
function makeInstance ( value , type , validator ) {
301
301
return new Vue ( {
302
302
el : document . createElement ( 'div' ) ,
303
- template : '<test bind- test="val"></test>' ,
303
+ template : '<test : test="val"></test>' ,
304
304
data : {
305
305
val : value
306
306
} ,
@@ -417,7 +417,7 @@ if (_.inBrowser) {
417
417
it ( 'alternative syntax' , function ( ) {
418
418
new Vue ( {
419
419
el : el ,
420
- template : '<test bind- b="a" bind- c="d"></test>' ,
420
+ template : '<test : b="a" : c="d"></test>' ,
421
421
data : {
422
422
a : 'AAA' ,
423
423
d : 'DDD'
0 commit comments