Created
September 28, 2012 07:21
-
-
Save monners/3798438 to your computer and use it in GitHub Desktop.
javascript - continuous loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Loop = function() { | |
someFunction(); | |
setTimeout(Loop, 10); | |
}; | |
window.onload = Loop; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment