1
0
mirror of https://github.com/danog/2048.git synced 2025-01-09 14:38:24 +01:00
2048/js/application.js

7 lines
267 B
JavaScript
Raw Normal View History

2014-03-09 20:03:04 +01:00
document.addEventListener("DOMContentLoaded", function () {
// Wait till the browser is ready to render the game (avoids glitches)
window.requestAnimationFrame(function () {
new GameManager(4, KeyboardInputManager, HTMLActuator, LocalScoreManager);
2014-03-09 20:03:04 +01:00
});
});