happy-dom
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -67,7 +67,5 @@ "use strict"; | ||
} | ||
else { | ||
for (var _i = 0, _a = this.childNodes; _i < _a.length; _i++) { | ||
var child = _a[_i]; | ||
child.isConnected = isConnected; | ||
} | ||
for (var _i = 0, _a = this.childNodes; _i < _a.length; _i++) { | ||
var child = _a[_i]; | ||
child.isConnected = isConnected; | ||
} | ||
@@ -74,0 +72,0 @@ if (isConnected && this.connectedCallback) { |
{ | ||
"name": "happy-dom", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/capricorn86/happy-dom#readme", |
@@ -58,8 +58,8 @@ import NodeType from './NodeType'; | ||
(<any>this).shadowRoot.isConnected = isConnected; | ||
} else { | ||
for (const child of this.childNodes) { | ||
child.isConnected = isConnected; | ||
} | ||
} | ||
for (const child of this.childNodes) { | ||
child.isConnected = isConnected; | ||
} | ||
if (isConnected && this.connectedCallback) { | ||
@@ -66,0 +66,0 @@ this.connectedCallback(); |
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
431391
11116