Skip to content

Instantly share code, notes, and snippets.

@rcastillo
Created December 10, 2011 16:49
Show Gist options
  • Save rcastillo/1455565 to your computer and use it in GitHub Desktop.
Save rcastillo/1455565 to your computer and use it in GitHub Desktop.
callback hell
// pseudocode: ajax(request_object, callback)
ajax(a, function() {
ajax(b(a.somedata), function() {
ajax(c(b.somedata), function() {
c.finish()
})
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment