happy-dom
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -62,2 +62,6 @@ "use strict"; | ||
this._isConnected = isConnected; | ||
for (var _i = 0, _a = this.childNodes; _i < _a.length; _i++) { | ||
var child = _a[_i]; | ||
child.isConnected = isConnected; | ||
} | ||
// eslint-disable-next-line | ||
@@ -68,6 +72,2 @@ if (this.shadowRoot) { | ||
} | ||
for (var _i = 0, _a = this.childNodes; _i < _a.length; _i++) { | ||
var child = _a[_i]; | ||
child.isConnected = isConnected; | ||
} | ||
if (isConnected && this.connectedCallback) { | ||
@@ -74,0 +74,0 @@ this.connectedCallback(); |
{ | ||
"name": "happy-dom", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/capricorn86/happy-dom#readme", |
@@ -54,2 +54,6 @@ import NodeType from './NodeType'; | ||
for (const child of this.childNodes) { | ||
child.isConnected = isConnected; | ||
} | ||
// eslint-disable-next-line | ||
@@ -61,6 +65,2 @@ if ((<any>this).shadowRoot) { | ||
for (const child of this.childNodes) { | ||
child.isConnected = isConnected; | ||
} | ||
if (isConnected && this.connectedCallback) { | ||
@@ -67,0 +67,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