@riotjs/dom-bindings
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -688,3 +688,5 @@ /** | ||
const {template, context} = redundant.pop(); | ||
template.unmount(context, parentScope, false); | ||
// notice that we pass null as last argument because | ||
// the root node and its children will be removed by domdiff | ||
template.unmount(context, parentScope, null); | ||
} | ||
@@ -1491,3 +1493,3 @@ | ||
this.el.parentNode.removeChild(this.el); | ||
} else { | ||
} else if (mustRemoveRoot !== null) { | ||
cleanNode(this.el); | ||
@@ -1494,0 +1496,0 @@ } |
@@ -694,3 +694,5 @@ (function (global, factory) { | ||
const {template, context} = redundant.pop(); | ||
template.unmount(context, parentScope, false); | ||
// notice that we pass null as last argument because | ||
// the root node and its children will be removed by domdiff | ||
template.unmount(context, parentScope, null); | ||
} | ||
@@ -1497,3 +1499,3 @@ | ||
this.el.parentNode.removeChild(this.el); | ||
} else { | ||
} else if (mustRemoveRoot !== null) { | ||
cleanNode(this.el); | ||
@@ -1500,0 +1502,0 @@ } |
{ | ||
"name": "@riotjs/dom-bindings", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Riot.js DOM bindings", | ||
@@ -5,0 +5,0 @@ "main": "dist/umd.dom-bindings.js", |
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
98522
2863