Skip to content

Instantly share code, notes, and snippets.

@syzer
Created April 8, 2015 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save syzer/ebaf3ddec5c1b91f9e16 to your computer and use it in GitHub Desktop.
Save syzer/ebaf3ddec5c1b91f9e16 to your computer and use it in GitHub Desktop.
mergeSmallSample
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