nanomorph
Advanced tools
Comparing version 6.0.0-beta2 to 6.0.0-beta3
@@ -102,3 +102,3 @@ var assert = require('assert') | ||
if (isProxy(newChild) && newChild.realNode) { | ||
oldNode.appendChild(newChild.realNode) | ||
break | ||
} else { | ||
@@ -146,3 +146,3 @@ oldNode.appendChild(newChild) | ||
if (isProxy(newChild) && !newChild.isSameNode(oldChild) && newChild.realNode) { | ||
oldNode.insertBefore(newChild.realNode, oldChild) | ||
break | ||
} else { | ||
@@ -149,0 +149,0 @@ oldNode.insertBefore(newChild, oldChild) |
{ | ||
"name": "nanomorph", | ||
"version": "6.0.0-beta2", | ||
"version": "6.0.0-beta3", | ||
"description": "Hyper fast diffing algorithm for real DOM nodes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
84946