Skip to content

Instantly share code, notes, and snippets.

@benmmurphy
Created September 2, 2011 20:40
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 benmmurphy/1189857 to your computer and use it in GitHub Desktop.
Save benmmurphy/1189857 to your computer and use it in GitHub Desktop.
stratify js
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