-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (38 loc) · 1.25 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
43
44
45
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>DOJO clue generator - T3X</title>
<base href="/">
<meta name="description" content="t3x-dojo-clue-generator-app">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Load polyfills -->
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js" defer>
</script>
<script src="helpers.js"></script>
<!-- Load components via WebComponents.waitFor -->
<script type="module">
window.WebComponents = window.WebComponents || {
waitFor(cb) { addEventListener('WebComponentsReady', cb) }
}
WebComponents.waitFor(async () => {
return import('./src/t3x-dojo-clue-generator-app.js');
});
</script>
</head>
<body>
<t3x-dojo-clue-generator-app>
<!-- Placeholders to improve time to first paint -->
<h1>Start DOJO clue generator!</h1>
<!-- Check for JavaScript -->
<p id="jsyes"></p>
<script type="text/javascript">
document.getElementById('jsyes').innerHTML = 'Loading...';
</script>
<noscript>
Could not render the custom element. Check that JavaScript is enabled.
</noscript>
</t3x-dojo-clue-generator-app>
</body>
</html>