diff options
author | Alexander Early <alexander.early@gmail.com> | 2016-02-23 16:09:53 -0800 |
---|---|---|
committer | Alexander Early <alexander.early@gmail.com> | 2016-02-23 16:10:07 -0800 |
commit | 070ed49496d5cf0b3c31a8091608610961191238 (patch) | |
tree | e26f489e37ae3a227867b3d1dfe6c04afa361c23 /build-es/reduce.js | |
parent | 3cf46d01b44c31203f4e59db280378a58d760d0d (diff) | |
download | async-modularization.tar.gz |
gitignore build directoriesmodularization
Diffstat (limited to 'build-es/reduce.js')
-rw-r--r-- | build-es/reduce.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/build-es/reduce.js b/build-es/reduce.js deleted file mode 100644 index 51b736a..0000000 --- a/build-es/reduce.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -import eachOfSeries from './eachOfSeries'; - -export default function reduce(arr, memo, iterator, cb) { - eachOfSeries(arr, function(x, i, cb) { - iterator(memo, x, function(err, v) { - memo = v; - cb(err); - }); - }, function(err) { - cb(err, memo); - }); -} |