Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.

Commit f4f5f43

Browse files
authored
Merge pull request #112 from webcomponents/remove-attachShadow-warning
Remove warning about `Element.prototype.attachShadow` not existing.
2 parents 77d9298 + fa8d919 commit f4f5f43

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

custom-elements.min.js

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

custom-elements.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Patch/Element.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ export default function(internals) {
2222
this.__CE_shadowRoot = shadowRoot;
2323
return shadowRoot;
2424
});
25-
} else {
26-
console.warn('Custom Elements: `Element#attachShadow` was not patched.');
2725
}
2826

2927

0 commit comments

Comments
 (0)