Created
January 28, 2016 20:40
-
-
Save robertleeplummerjr/44efcc390cd899181461 to your computer and use it in GitHub Desktop.
This file contains 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
var fs = something(require('fs')); | |
fs.readFile('') | |
.then(function(str) {}) | |
.then(function() {}) | |
.done(function() {}) | |
.error(function (err) { | |
//this is an optional fn that is already defined to throw the error, but can be overridden | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment