-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (36 loc) · 955 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WAFS</title>
<link rel="import" href="src/asteroids-app.html">
<style>
html,
body {
height: 100%;
}
body {
margin: 0;
background-color: black;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
</style>
</head>
<body>
<asteroids-app></asteroids-app>
<noscript>
<p>Please enable JavaScript to use this application</p>
</noscript>
</body>
<script>
(function() {
navigator.serviceWorker.register('sw.js')
.then((registration) => {
console.log('ServiceWorker registration successful with scope: ', registration.scope);
}).catch(function(err) {
console.log('ServiceWorker registration failed: ', err);
})
}())
</script>
</html>