diff options
author | Joris Guyonvarch | 2015-03-04 23:27:59 +0100 |
---|---|---|
committer | Joris Guyonvarch | 2015-03-05 00:27:32 +0100 |
commit | 4d007f6802246c6411a2838e68e957c2b4d56d3d (patch) | |
tree | 70519a5a2d6825bf2b64f6a8950a003b2ff4f150 /index.html | |
parent | d37a301ed39bac823e0f2223b8d229b417e128c7 (diff) |
Adapt the game to elm version 0.14.1
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"> |