Created
September 2, 2011 20:40
-
-
Save benmmurphy/1189857 to your computer and use it in GitHub Desktop.
stratify js
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
function pause(t) { | |
waitfor() { | |
window.setTimeout(resume, t); | |
} | |
} | |
var object = { | |
pause_then_alert : function() { | |
pause(1000); | |
alert("end"); | |
} | |
}; | |
function alert_then_pause_then_alert() { | |
alert("start"); | |
object.pause_then_alert(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment