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) {
144144 // if its a template tag and the browser supports it,
145145 // its content is already a document fragment. However, iOS Safari has
146146 // 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)
149149 if ( isRealTemplate ( node ) ) {
150150 return stringToFragment ( node . innerHTML )
151151 }
Original file line number Diff line number Diff line change @@ -996,7 +996,7 @@ describe('v-for', function () {
996996 el : document . createElement ( 'div' ) ,
997997 template : '<div v-for="item in items">{{item.name}}</div>' ,
998998 data : {
999- items : [ Object . freeze ( { name :'hi' } ) ]
999+ items : [ Object . freeze ( { name :'hi' } ) ]
10001000 }
10011001 } )
10021002 expect ( 'Frozen v-for objects cannot be automatically tracked' ) . toHaveBeenWarned ( )
You can’t perform that action at this time.
0 commit comments