1
0
mirror of https://github.com/danog/2048.git synced 2024-11-30 04:19:06 +01:00
2048/js/application.js

5 lines
197 B
JavaScript
Raw Normal View History

2014-03-11 14:30:09 +01:00
// Wait till the browser is ready to render the game (avoids glitches)
window.requestAnimationFrame(function () {
new GameManager(4, KeyboardInputManager, HTMLActuator, LocalStorageManager);
});