@@ -285,8 +285,9 @@ export function createPatchFunction (backend) {
285285 }
286286 // for slot content they should also get the scopeId from the host instance.
287287 if ( isDef ( i = activeInstance ) &&
288- i !== vnode . context &&
289- isDef ( i = i . $options . _scopeId ) ) {
288+ i !== vnode . context &&
289+ isDef ( i = i . $options . _scopeId )
290+ ) {
290291 nodeOps . setAttribute ( vnode . elm , i , '' )
291292 }
292293 }
@@ -438,9 +439,10 @@ export function createPatchFunction (backend) {
438439 // if the new node is not cloned it means the render functions have been
439440 // reset by the hot-reload-api and we need to do a proper re-render.
440441 if ( isTrue ( vnode . isStatic ) &&
441- isTrue ( oldVnode . isStatic ) &&
442- vnode . key === oldVnode . key &&
443- ( isTrue ( vnode . isCloned ) || isTrue ( vnode . isOnce ) ) ) {
442+ isTrue ( oldVnode . isStatic ) &&
443+ vnode . key === oldVnode . key &&
444+ ( isTrue ( vnode . isCloned ) || isTrue ( vnode . isOnce ) )
445+ ) {
444446 vnode . elm = oldVnode . elm
445447 vnode . componentInstance = oldVnode . componentInstance
446448 return
@@ -529,8 +531,9 @@ export function createPatchFunction (backend) {
529531 // longer than the virtual children list.
530532 if ( ! childrenMatch || childNode ) {
531533 if ( process . env . NODE_ENV !== 'production' &&
532- typeof console !== 'undefined' &&
533- ! bailed ) {
534+ typeof console !== 'undefined' &&
535+ ! bailed
536+ ) {
534537 bailed = true
535538 console . warn ( 'Parent: ' , elm )
536539 console . warn ( 'Mismatching childNodes vs. VNodes: ' , elm . childNodes , children )
0 commit comments