typed-dom
Advanced tools
Comparing version 0.0.231 to 0.0.232
{ | ||
"name": "typed-dom", | ||
"version": "0.0.231", | ||
"version": "0.0.232", | ||
"description": "A DOM component builder creating type-level DOM structures.", | ||
@@ -58,3 +58,3 @@ "private": false, | ||
"power-assert": "^1.6.1", | ||
"spica": "0.0.477", | ||
"spica": "0.0.479", | ||
"tsify": "^5.0.4", | ||
@@ -61,0 +61,0 @@ "typescript": "4.3.2", |
@@ -157,3 +157,5 @@ import { Mutable } from 'spica/type'; | ||
throwErrorIfNotUsable(child); | ||
this.container.appendChild(child.element); | ||
if (child.element.parentNode !== this.container) { | ||
this.container.appendChild(child.element); | ||
} | ||
descs[name] = { | ||
@@ -160,0 +162,0 @@ configurable: true, |
@@ -157,3 +157,5 @@ import { Mutable } from 'spica/type'; | ||
throwErrorIfNotUsable(child); | ||
this.container.appendChild(child.element); | ||
if (child.element.parentNode !== this.container) { | ||
this.container.appendChild(child.element); | ||
} | ||
descs[name] = { | ||
@@ -160,0 +162,0 @@ configurable: true, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
591866
14164