febs-browser
Advanced tools
Comparing version 0.7.5 to 0.7.6
@@ -426,10 +426,9 @@ ( function( global, factory ) { | ||
if (!this._elem) { return this; } | ||
node = new Dom(node); | ||
if (this._isArray()) { | ||
for (var i = 0; i < this._elem.length; i++) { | ||
_appendChild(this._elem[i], node); | ||
_appendChild(this._elem[i], new Dom(node)); | ||
} | ||
} | ||
else { | ||
_appendChild(this._elem, node); | ||
_appendChild(this._elem, new Dom(node)); | ||
} | ||
@@ -456,10 +455,9 @@ return this; | ||
if (!this._elem) { return this; } | ||
node = new Dom(node); | ||
if (this._isArray()) { | ||
for (var i = 0; i < this._elem.length; i++) { | ||
_prependChild(this._elem[i], node); | ||
_prependChild(this._elem[i], new Dom(node)); | ||
} | ||
} | ||
else { | ||
_prependChild(this._elem, node); | ||
_prependChild(this._elem, new Dom(node)); | ||
} | ||
@@ -486,10 +484,9 @@ return this; | ||
if (!this._elem) { return this; } | ||
node = new Dom(node); | ||
if (this._isArray()) { | ||
for (var i = 0; i < this._elem.length; i++) { | ||
node.insertBefore(this._elem[i]); | ||
(new Dom(node)).insertBefore(this._elem[i]); | ||
} | ||
} | ||
else { | ||
node.insertBefore(this._elem); | ||
(new Dom(node)).insertBefore(this._elem); | ||
} | ||
@@ -520,10 +517,9 @@ return this; | ||
if (!this._elem) { return this; } | ||
node = new Dom(node); | ||
if (this._isArray()) { | ||
for (var i = 0; i < this._elem.length; i++) { | ||
node.insertAfter(this._elem[i]); | ||
(new Dom(node)).insertAfter(this._elem[i]); | ||
} | ||
} | ||
else { | ||
node.insertAfter(this._elem); | ||
(new Dom(node)).insertAfter(this._elem); | ||
} | ||
@@ -530,0 +526,0 @@ return this; |
@@ -73,3 +73,3 @@ { | ||
"name": "febs-browser", | ||
"version": "0.7.5" | ||
"version": "0.7.6" | ||
} |
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
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
1467725
15005