Skip to content

Instantly share code, notes, and snippets.

@kusakari
Created October 3, 2012 15:30
Show Gist options
  • Save kusakari/3827583 to your computer and use it in GitHub Desktop.
Save kusakari/3827583 to your computer and use it in GitHub Desktop.
coffeescript verb
_loop_playing: (anim) ->
if anim.playing == false
return true
setTimeout(
()=>
@_loop_playing.apply(this, [anim])
, parseInt(1000 / anim.fps))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment