diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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"> |