Skip to content

Commit eff1a79

Browse files
committed
remove polyfills from cdn
1 parent 1dc462c commit eff1a79

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

js/index.html

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@
5757
</head>
5858

5959
<body>
60-
<!-- Web Components ES5 Class Compatibility Layer -->
61-
<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/1.0.4/custom-elements-es5-adapter.js"></script>
62-
<!-- Web Components Polyfill -->
63-
<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/1.0.1/webcomponents-loader.js"></script>
64-
<!-- Web Animations API Polyfill -->
65-
<script src="https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.3.1/web-animations-next.min.js"></script>
6660
<!-- Bundle Paths -->
6761
<script>
6862
var clientBundlePath = "./client.bundle?platform=dom";
@@ -81,15 +75,13 @@
8175

8276
<!-- App Initialization -->
8377
<script>
84-
window.addEventListener('WebComponentsReady', function () {
85-
addScript(clientBundlePath, function () {
86-
// Initialize the React Native application
87-
ReactDom.init(
88-
rnBundlePath,
89-
// Attach it to the body tag
90-
document.body
91-
);
92-
});
78+
addScript(clientBundlePath, function () {
79+
// Initialize the React Native application
80+
ReactDom.init(
81+
rnBundlePath,
82+
// Attach it to the body tag
83+
document.body
84+
);
9385
});
9486
</script>
9587
</body>

0 commit comments

Comments
 (0)