Skip to content
This repository was archived by the owner on Sep 20, 2019. It is now read-only.

Commit f35acf8

Browse files
authored
Merge pull request #694 from webcomponents/v1-update-builds
V1 update builds
2 parents 632ae2e + 1a0ab4d commit f35acf8

7 files changed

Lines changed: 14 additions & 11 deletions

webcomponents-hi-sd-ce.js

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

webcomponents-hi-sd-ce.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.

webcomponents-lite.js

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

webcomponents-lite.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.

webcomponents-loader.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@
1414
if (!('import' in document.createElement('link'))) {
1515
polyfills.push('hi');
1616
}
17-
if (!('attachShadow' in Element.prototype) || (window.ShadyDOM && window.ShadyDOM.force)) {
17+
if (!('attachShadow' in Element.prototype && 'getRootNode' in Element.prototype) ||
18+
(window.ShadyDOM && window.ShadyDOM.force)) {
1819
polyfills.push('sd');
1920
}
2021
if (!window.customElements || window.customElements.forcePolyfill) {
2122
polyfills.push('ce');
2223
}
23-
if (!('content' in document.createElement('template')) || !window.Promise) {
24+
if (!('content' in document.createElement('template')) || !window.Promise ||
25+
// Edge has broken fragment cloning which means you cannot clone template.content
26+
!(document.createDocumentFragment().cloneNode() instanceof DocumentFragment)) {
2427
polyfills.push('pf');
2528
}
2629

webcomponents-sd-ce.js

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

webcomponents-sd-ce.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.

0 commit comments

Comments
 (0)