Created
May 7, 2015 14:54
-
-
Save ptasker/4677e93462caef51f0f0 to your computer and use it in GitHub Desktop.
NodeJS christmas
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
mymodel.findOne({ | |
'user': this.req.user, | |
}, function(err, data){ | |
doSomethingWithData(data, function(err, data){ | |
doSomethingWithELSEWithData(data, function(err, data){ | |
doSomethingMOREWithData(data, function(err, data){ | |
haveAnaneurysm(data, function(err, data){ | |
//die | |
});//Ho | |
});//Ho | |
});//Ho | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment