add requestanimationframe polyfill
[2048.git] / js / application.js
1
2
3
4
5
// Wait till the browser is ready to render the game (avoids glitches)
window.requestAnimationFrame(function () {
  var manager = new GameManager(4, KeyboardInputManager, HTMLActuator);
});
 
comments