Skip to content

Commit 46a4897

Browse files
authored
chore: avoid syntax warnings in dev app on IE (#18511)
Fixes IE logging some invalid syntax warnings because we had a few tags outside the `body`.
1 parent e9debff commit 46a4897

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/dev-app/index.html

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,25 @@
2323
</head>
2424
<body>
2525
<dev-app>Loading...</dev-app>
26-
</body>
2726

28-
<script src="core-js/client/core.js"></script>
29-
<script src="zone.js/dist/zone.js"></script>
30-
<script src="systemjs/dist/system.js"></script>
31-
<script src="system-config.js"></script>
32-
<script src="https://www.youtube.com/iframe_api"></script>
33-
<script src="https://maps.googleapis.com/maps/api/js"></script>
34-
<script>
35-
System.config({
36-
map: {
37-
// Maps imports where the AMD module names start with workspace name (commonly done in Bazel).
38-
// This is needed for compatibility with dynamic runfile resolution of the devserver and the
39-
// static runfile resolution done in the "pkg_web" rule. In the built web package, the output
40-
// tree artifact serves as workspace root and root of the current dev-app Bazel package.
41-
'angular_material': '',
42-
'angular_material/src/dev-app': '',
43-
}
44-
});
45-
System.import('main').catch(console.error.bind(console));
46-
</script>
27+
<script src="core-js/client/core.js"></script>
28+
<script src="zone.js/dist/zone.js"></script>
29+
<script src="systemjs/dist/system.js"></script>
30+
<script src="system-config.js"></script>
31+
<script src="https://www.youtube.com/iframe_api"></script>
32+
<script src="https://maps.googleapis.com/maps/api/js"></script>
33+
<script>
34+
System.config({
35+
map: {
36+
// Maps imports where the AMD module names start with workspace name (commonly done in Bazel).
37+
// This is needed for compatibility with dynamic runfile resolution of the devserver and the
38+
// static runfile resolution done in the "pkg_web" rule. In the built web package, the output
39+
// tree artifact serves as workspace root and root of the current dev-app Bazel package.
40+
'angular_material': '',
41+
'angular_material/src/dev-app': '',
42+
}
43+
});
44+
System.import('main').catch(console.error.bind(console));
45+
</script>
46+
</body>
4747
</html>

0 commit comments

Comments
 (0)