diff --git a/index.html b/index.html index 0e639e819641dd41bee57dbbc6d64cf9c5d4ba39..84c1a48afea743d359fb0d3a1fa22bc530b973cc 100644 --- a/index.html +++ b/index.html @@ -6,14 +6,6 @@ - - - - - - - - @@ -74,5 +66,13 @@ Created by Gabriele Cirulli. Based on 1024 by Veewo Studio and conceptually similar to Threes by Asher Vollmer.

+ + + + + + + + diff --git a/js/application.js b/js/application.js index 656a88d7e7fde036a6f8f3a10340c19c3b767da5..1ce870e5bff7500c331b743b53a3a1a8efa4c65b 100644 --- a/js/application.js +++ b/js/application.js @@ -1,6 +1,4 @@ -document.addEventListener("DOMContentLoaded", function () { - // Wait till the browser is ready to render the game (avoids glitches) - window.requestAnimationFrame(function () { - var manager = new GameManager(4, KeyboardInputManager, HTMLActuator); - }); +// Wait till the browser is ready to render the game (avoids glitches) +window.requestAnimationFrame(function () { + var manager = new GameManager(4, KeyboardInputManager, HTMLActuator); });