Created
February 23, 2011 19:36
-
-
Save robotlolita/841003 to your computer and use it in GitHub Desktop.
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
do slow_loop = -> | |
setTimeout slow_loop, 500 unless confirm 'Stop looping?' | |
# | |
# Is compiled to | |
# \/ | |
` | |
(function() { | |
var slow_loop; | |
(slow_loop = function() { | |
if (!confirm('Stop looping?')) { | |
return setTimeout(slow_loop, 500); | |
} | |
})(); | |
}).call(this); | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment