-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
31 lines (26 loc) · 909 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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Regex Nodes</title>
<link rel="shortcut icon" href="html/img/favicon.png"/>
<link rel="stylesheet" href="html/css/layout.css">
<link rel="stylesheet" href="html/css/dark-theme.css">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<meta name="theme-color" content="teal"/>
<script type="text/javascript" src="html/built.js"></script>
</head>
<body>
<div id="elm-node"></div>
<script type="text/javascript">
app = Elm.Main.init({
node: document.getElementById("elm-node"),
flags: window.location.href
})
app.ports && app.ports.url && app.ports.url.subscribe(function(url) {
if (window.history.state != url)
window.history.replaceState(url, window.location.title, url)
})
</script>
</body>
</html>