Skip to content

Commit

Permalink
Make the game object accessible from the console
Browse files Browse the repository at this point in the history
  • Loading branch information
Cainã Costa committed Sep 2, 2012
1 parent b49f470 commit 9bbcac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascripts/game.coffee
Expand Up @@ -16,5 +16,5 @@ class window.Game
requestAnimFrame(@step)

$(document).ready ->
new Game 640, 480, "canvas"
window.game = new Game 640, 480, "canvas"

0 comments on commit 9bbcac6

Please sign in to comment.