-
-
Notifications
You must be signed in to change notification settings - Fork 418
/
index.html
42 lines (33 loc) · 1.11 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta http-equiv="expires" content="0">
<title>My Demo</title>
</head>
<body>
<h1>Static content in index.html is preserved</h1>
<demo-app></demo-app>
<div id="test"></div>
<script type="module">
import './demo-app.ts';
import './syntax.ts'
(async () => {
window.__tests = {
partialCSS: window.__partialCSS || false,
litElement: await window.__litElement || false,
startsWith: window.__startsWith || false,
map: window.__map || false,
importMeta: window.__importMeta || false,
importMeta2: window.__importMeta2 || false,
asyncFunction: await window.__asyncFunction || false,
forOf: window.__forOf || false,
optionalChaining: window.__optionalChaining || false,
nullishCoalescing: window.__nullishCoalescing || false,
};
document.getElementById('test').innerHTML = `<pre>${JSON.stringify(window.__tests, null, 2)}</pre>`;
})();
</script>
</body>
</html>