Skip to content

Instantly share code, notes, and snippets.

@jeremyBanks
Created July 23, 2011 13:55
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 jeremyBanks/1101456 to your computer and use it in GitHub Desktop.
Save jeremyBanks/1101456 to your computer and use it in GitHub Desktop.
print "Hello"
$.ajax(url: "/blah").then ->
print "Got data!"
$.ajax(url: "/bar").then ->
print "Got More!"
$.ajax(url: "/foo").then ->
print "Even more!"
print "Hello"
$.ajax(url: "/blah").then(->
print "Got data!"
$.ajax(url: "/bar").then(->
print "Got More!"
$.ajax(url: "/foo").then(->
print "Even more!"
)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment