Comparing version 0.0.30 to 0.0.31
@@ -288,6 +288,4 @@ "use strict"; | ||
if (findResult.found) { | ||
for (let i = forgoChildIndex; i < findResult.index; i++) { | ||
const nodesToRemove = Array.from(childNodes).slice(forgoChildIndex, findResult.index); | ||
unloadNodes(nodesToRemove); | ||
} | ||
const nodesToRemove = Array.from(childNodes).slice(forgoChildIndex, findResult.index); | ||
unloadNodes(nodesToRemove); | ||
internalRender(forgoChild, childNodes[forgoChildIndex], [], fullRerender); | ||
@@ -294,0 +292,0 @@ } |
{ | ||
"name": "forgo", | ||
"version": "0.0.30", | ||
"version": "0.0.31", | ||
"main": "./dist", | ||
@@ -5,0 +5,0 @@ "author": "Jeswin Kumar<jeswinpk@agilehead.com>", |
@@ -601,9 +601,7 @@ declare global { | ||
if (findResult.found) { | ||
for (let i = forgoChildIndex; i < findResult.index; i++) { | ||
const nodesToRemove = Array.from(childNodes).slice( | ||
forgoChildIndex, | ||
findResult.index | ||
); | ||
unloadNodes(nodesToRemove); | ||
} | ||
const nodesToRemove = Array.from(childNodes).slice( | ||
forgoChildIndex, | ||
findResult.index | ||
); | ||
unloadNodes(nodesToRemove); | ||
internalRender( | ||
@@ -610,0 +608,0 @@ forgoChild, |
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
86748
1527