File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
test/unit/specs/directives/public/for Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -144,8 +144,8 @@ function nodeToFragment (node) {
144
144
// if its a template tag and the browser supports it,
145
145
// its content is already a document fragment. However, iOS Safari has
146
146
// bug when using directly cloned template content with touch
147
- // events and can cause crashes the nodes are removed from DOM, so we have
148
- // to treat template elements as string templates. (#2805)
147
+ // events and can cause crashes when the nodes are removed from DOM, so we
148
+ // have to treat template elements as string templates. (#2805)
149
149
if ( isRealTemplate ( node ) ) {
150
150
return stringToFragment ( node . innerHTML )
151
151
}
Original file line number Diff line number Diff line change @@ -996,7 +996,7 @@ describe('v-for', function () {
996
996
el : document . createElement ( 'div' ) ,
997
997
template : '<div v-for="item in items">{{item.name}}</div>' ,
998
998
data : {
999
- items : [ Object . freeze ( { name :'hi' } ) ]
999
+ items : [ Object . freeze ( { name :'hi' } ) ]
1000
1000
}
1001
1001
} )
1002
1002
expect ( 'Frozen v-for objects cannot be automatically tracked' ) . toHaveBeenWarned ( )
You can’t perform that action at this time.
0 commit comments