File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
src/compiler/compile/nodes
animation-not-in-keyed-each Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export default class Animation extends Node {
2727 // TODO can we relax the 'immediate child' rule?
2828 component . error ( this , {
2929 code : 'invalid-animation' ,
30- message : 'An element that use the animate directive must be the immediate child of a keyed each block'
30+ message : 'An element that uses the animate directive must be the immediate child of a keyed each block'
3131 } ) ;
3232 }
3333
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export default class EachBlock extends AbstractBlock {
6161 const child = this . children . find ( child => ! ! ( child as Element ) . animation ) ;
6262 component . error ( ( child as Element ) . animation , {
6363 code : 'invalid-animation' ,
64- message : 'An element that use the animate directive must be the sole child of a keyed each block'
64+ message : 'An element that uses the animate directive must be the sole child of a keyed each block'
6565 } ) ;
6666 }
6767 }
Original file line number Diff line number Diff line change 11[{
22 "code" : " invalid-animation" ,
3- "message" : " An element that use the animate directive must be the immediate child of a keyed each block" ,
3+ "message" : " An element that uses the animate directive must be the immediate child of a keyed each block" ,
44 "start" : {
55 "line" : 5 ,
66 "column" : 5 ,
1212 "character" : 55
1313 },
1414 "pos" : 44
15- }]
15+ }]
Original file line number Diff line number Diff line change 11[{
22 "code" : " invalid-animation" ,
3- "message" : " An element that use the animate directive must be the immediate child of a keyed each block" ,
3+ "message" : " An element that uses the animate directive must be the immediate child of a keyed each block" ,
44 "start" : {
55 "line" : 6 ,
66 "column" : 6 ,
1212 "character" : 80
1313 },
1414 "pos" : 69
15- }]
15+ }]
Original file line number Diff line number Diff line change 11[{
22 "code" : " invalid-animation" ,
3- "message" : " An element that use the animate directive must be the sole child of a keyed each block" ,
3+ "message" : " An element that uses the animate directive must be the sole child of a keyed each block" ,
44 "start" : {
55 "line" : 6 ,
66 "column" : 6 ,
1212 "character" : 88
1313 },
1414 "pos" : 77
15- }]
15+ }]
You can’t perform that action at this time.
0 commit comments