Skip to content

Instantly share code, notes, and snippets.

@ecto
Created April 14, 2014 16:48
Show Gist options
  • Save ecto/10664545 to your computer and use it in GitHub Desktop.
Save ecto/10664545 to your computer and use it in GitHub Desktop.
function Ticker () {
var ticks = 0;
this.tick = function () {
ticks++;
}
this.getTicks = funtion () {
return ticks;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment