aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/index.html b/index.html
index 5a380b5..00ff90a 100644
--- a/index.html
+++ b/index.html
@@ -6,8 +6,7 @@
<title>cAtchVoid</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="style.css">
- <script src="resources/elm-runtime.js"></script>
- <script src="src/build/Main.js"></script>
+ <script src="elm.js"></script>
</head>
<body>
@@ -25,9 +24,10 @@
</p>
<script type="text/javascript">
- var myModule = Elm.Main;
- var myContainer = document.getElementById('game');
- Elm.embed(myModule, myContainer);
+ var input = {
+ initialTime: new Date().getTime()
+ };
+ Elm.embed(Elm.Main, document.getElementById('game'), input);
</script>
<a href="https://github.com/guyonvarch/catchvoid">