as-custom-element
Advanced tools
Comparing version 0.0.1 to 0.1.0
@@ -83,2 +83,3 @@ 'use strict'; | ||
d.add(disconnectedCallback || fallback); | ||
// if (target.isConnected) // No IE11/Edge support | ||
if (target.ownerDocument.contains(target)) | ||
@@ -85,0 +86,0 @@ (connectedCallback || fallback).call(target); |
@@ -82,2 +82,3 @@ const wm = new WeakMap; | ||
d.add(disconnectedCallback || fallback); | ||
// if (target.isConnected) // No IE11/Edge support | ||
if (target.ownerDocument.contains(target)) | ||
@@ -84,0 +85,0 @@ (connectedCallback || fallback).call(target); |
@@ -98,3 +98,4 @@ self.asCustomElement = (function (exports) { | ||
c.add(connectedCallback || fallback); | ||
d.add(disconnectedCallback || fallback); | ||
d.add(disconnectedCallback || fallback); // if (target.isConnected) // No IE11/Edge support | ||
if (target.ownerDocument.contains(target)) (connectedCallback || fallback).call(target); | ||
@@ -101,0 +102,0 @@ return target; |
{ | ||
"name": "as-custom-element", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "Setup any element as if it was a Custom Element", | ||
@@ -40,3 +40,11 @@ "main": "./cjs/index.js", | ||
}, | ||
"unpkg": "min.js" | ||
"unpkg": "min.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/WebReflection/as-custom-element.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/WebReflection/as-custom-element/issues" | ||
}, | ||
"homepage": "https://github.com/WebReflection/as-custom-element#readme" | ||
} |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
13132
257
0
1
0