parent
3b1bc04b9e
commit
ade77f37c9
1 changed files with 0 additions and 1 deletions
|
|
@ -282,7 +282,6 @@ module.exports = function($window) {
|
|||
var start = 0, oldStart = 0
|
||||
if (!isOldKeyed) while (oldStart < old.length && old[oldStart] == null) oldStart++
|
||||
if (!isKeyed) while (start < vnodes.length && vnodes[start] == null) start++
|
||||
if (isKeyed === null && isOldKeyed == null) return // both lists are full of nulls
|
||||
if (isOldKeyed !== isKeyed) {
|
||||
removeNodes(parent, old, oldStart, old.length)
|
||||
createNodes(parent, vnodes, start, vnodes.length, hooks, nextSibling, ns)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue