Created
April 8, 2015 18:26
-
-
Save syzer/ebaf3ddec5c1b91f9e16 to your computer and use it in GitHub Desktop.
mergeSmallSample
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
function mergeSmall() { | |
var task1 = task(ch01) | |
.reduce(bigramArray) | |
.run(); | |
var task2 = task(ch02) | |
.reduce(bigramArray) | |
.run(); | |
return q.all([task1, task2]).then(function (data) { | |
return _.merge(data[0], data[1]); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment