Comparing version 0.6.17 to 0.6.18
{ | ||
"name": "aurumjs", | ||
"version": "0.6.17", | ||
"version": "0.6.18", | ||
"description": "Stream based declarative DOM rendering library for javascript", | ||
@@ -5,0 +5,0 @@ "main": "prebuilt/cjs/aurumjs.js", |
@@ -469,2 +469,12 @@ "use strict"; | ||
optimized = true; | ||
if (itemA.parentElement === itemB.parentElement) { | ||
if (itemA.nextSibling === itemB) { | ||
itemB.parentNode.insertBefore(itemB, itemA); | ||
break; | ||
} | ||
if (itemB.nextSibling === itemA) { | ||
itemB.parentNode.insertBefore(itemA, itemB); | ||
break; | ||
} | ||
} | ||
const parentA = itemA.parentNode; | ||
@@ -471,0 +481,0 @@ const siblingA = itemA.nextSibling === itemB ? itemB : itemA.nextSibling; |
@@ -458,2 +458,12 @@ import { diagnosticMode } from '../debug_mode'; | ||
optimized = true; | ||
if (itemA.parentElement === itemB.parentElement) { | ||
if (itemA.nextSibling === itemB) { | ||
itemB.parentNode.insertBefore(itemB, itemA); | ||
break; | ||
} | ||
if (itemB.nextSibling === itemA) { | ||
itemB.parentNode.insertBefore(itemA, itemB); | ||
break; | ||
} | ||
} | ||
const parentA = itemA.parentNode; | ||
@@ -460,0 +470,0 @@ const siblingA = itemA.nextSibling === itemB ? itemB : itemA.nextSibling; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3592260
35118