mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Fix method to force CE polyfill on in 3.x
This commit is contained in:
@@ -12,10 +12,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<script>
|
||||
if (!window.customElements) {
|
||||
window.customElements = {};
|
||||
if (window.customElements) {
|
||||
customElements.forcePolyfill = true;
|
||||
}
|
||||
customElements.forcePolyfill = true;
|
||||
window.ShadyDOM = {
|
||||
force: true
|
||||
};
|
||||
|
||||
@@ -12,10 +12,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<script>
|
||||
if (!window.customElements) {
|
||||
window.customElements = {};
|
||||
if (window.customElements) {
|
||||
customElements.forcePolyfill = true;
|
||||
}
|
||||
customElements.forcePolyfill = true;
|
||||
window.ShadyDOM = {
|
||||
force: true
|
||||
};
|
||||
|
||||
@@ -11,10 +11,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
if (!window.customElements) {
|
||||
window.customElements = {};
|
||||
if (window.customElements) {
|
||||
customElements.forcePolyfill = true;
|
||||
}
|
||||
customElements.forcePolyfill = true;
|
||||
window.ShadyDOM = {
|
||||
force: true
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user