Created
September 27, 2014 16:31
-
-
Save bendrucker/7ee2834458062cc1c7b8 to your computer and use it in GitHub Desktop.
Demo of using externally defined functions with promises
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
| var messages = require('./src'); | |
| module.exports = messages.extract() | |
| .then(messages.transform) | |
| .done(messages.load); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment