Created
September 1, 2010 04:39
-
-
Save tim-smart/560231 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
db.get(stuff, function (error, results) { | |
// Do some stuff | |
db.get('bacon', getTheBacon); | |
}); | |
var getTheBacon = function (error, results) { | |
// Do stuff | |
db.get('beer', drinkTheBeer); | |
}; | |
var drinkTheBeer = function (error, results) { | |
// Etc... | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment