Bundled output for commit 297146a2cc [skip ci]

This commit is contained in:
Gandalf-the-Bot 2016-12-16 20:23:33 +00:00
parent 297146a2cc
commit 2b90b37e72
2 changed files with 2 additions and 2 deletions

View file

@ -463,7 +463,7 @@ var coreRenderer = function($window) {
if (old.length === vnodes.length && isUnkeyed) {
for (var i = 0; i < old.length; i++) {
if (old[i] === vnodes[i]) continue
else if (old[i] == null) insertNode(parent, createNode(vnodes[i], hooks, ns), getNextSibling(old, i + 1, nextSibling))
else if (old[i] == null && vnodes[i] != null) insertNode(parent, createNode(vnodes[i], hooks, ns), getNextSibling(old, i + 1, nextSibling))
else if (vnodes[i] == null) removeNodes(old, i, i + 1, vnodes)
else updateNode(parent, old[i], vnodes[i], hooks, getNextSibling(old, i + 1, nextSibling), false, ns)
}