Skip to content

Instantly share code, notes, and snippets.

@jakemcgraw
Created September 1, 2010 17:32
Show Gist options
  • Save jakemcgraw/561048 to your computer and use it in GitHub Desktop.
Save jakemcgraw/561048 to your computer and use it in GitHub Desktop.
var pollInterval = 1000;
var someFunc = function(){
/* do some shit */
window.setTimeout(someFunc, pollInterval);
};
someFunc();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment