1
0
mirror of https://github.com/danog/2048.git synced 2025-01-07 13:39:06 +01:00
2048/js/application.js
2014-03-09 14:32:30 +01:00

5 lines
190 B
JavaScript

// Wait till the browser is ready to render the game (avoids glitches)
window.requestAnimationFrame(function () {
var manager = new GameManager(4, KeyboardInputManager, HTMLActuator);
});