diff options
Diffstat (limited to 'build/modules-es6/internal/applyEach.js')
-rw-r--r-- | build/modules-es6/internal/applyEach.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/build/modules-es6/internal/applyEach.js b/build/modules-es6/internal/applyEach.js deleted file mode 100644 index a11b0bd..0000000 --- a/build/modules-es6/internal/applyEach.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -import rest from '../../../deps/lodash-es/function/rest'; - -export default function _applyEach(eachfn) { - return rest(function (fns, args) { - var go = rest(function (args) { - var that = this; - var callback = args.pop(); - return eachfn(fns, function (fn, _, cb) { - fn.apply(that, args.concat([cb])); - }, callback); - }); - if (args.length) { - return go.apply(this, args); - } else { - return go; - } - }); -}
\ No newline at end of file |