Skip to content

Instantly share code, notes, and snippets.

@sebastiandeutsch
Created October 10, 2012 08:41
Show Gist options
  • Save sebastiandeutsch/3864140 to your computer and use it in GitHub Desktop.
Save sebastiandeutsch/3864140 to your computer and use it in GitHub Desktop.
window.after = (t,f) -> setTimeout f, t
window.every = (t,f) -> setInterval f, t
$ ->
alert "foo"
$('#canvas').attr
width: $('#canvas').width()
height: $('#canvas').height()
new Kata.Controller $('#canvas').get(0), 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment