mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: fix error when running demo app in IE11 (#11111)
This commit is contained in:
committed by
Joey Perrott
parent
32111e0dc6
commit
9b3e9a3c75
@@ -12,8 +12,8 @@
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
|
||||
|
||||
<script>
|
||||
if (customElements) {
|
||||
customElements.forcePolyfill = true;
|
||||
if (window.customElements) {
|
||||
window.customElements.forcePolyfill = true;
|
||||
}
|
||||
</script>
|
||||
<script src="node_modules/@webcomponents/custom-elements/custom-elements.min.js"></script>
|
||||
@@ -29,7 +29,7 @@
|
||||
<script src="node_modules/systemjs/dist/system.src.js"></script>
|
||||
<script src="node_modules/zone.js/dist/zone.js"></script>
|
||||
<script src="node_modules/hammerjs/hammer.min.js"></script>
|
||||
|
||||
|
||||
<script>
|
||||
System.import('system-config.js').then(function () {
|
||||
System.import('main');
|
||||
|
||||
Reference in New Issue
Block a user