Skip to content

Instantly share code, notes, and snippets.

@asiletto
Created January 24, 2014 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asiletto/8599527 to your computer and use it in GitHub Desktop.
Save asiletto/8599527 to your computer and use it in GitHub Desktop.
var myClock1 = new Clock('123');
var myClock2 = new Clock('345');
setInterval(function(){
myClock1.emit('tick');
},1000);
setInterval(function(){
myClock2.emit('tick');
},1500);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment