aboutsummaryrefslogtreecommitdiff
path: root/node_modules/async/internal/applyEach.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/async/internal/applyEach.js')
-rw-r--r--node_modules/async/internal/applyEach.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/node_modules/async/internal/applyEach.js b/node_modules/async/internal/applyEach.js
deleted file mode 100644
index bfe97e686..000000000
--- a/node_modules/async/internal/applyEach.js
+++ /dev/null
@@ -1,33 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = applyEach;
-
-var _baseRest = require('lodash/_baseRest');
-
-var _baseRest2 = _interopRequireDefault(_baseRest);
-
-var _initialParams = require('./initialParams');
-
-var _initialParams2 = _interopRequireDefault(_initialParams);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-function applyEach(eachfn) {
- return (0, _baseRest2.default)(function (fns, args) {
- var go = (0, _initialParams2.default)(function (args, callback) {
- var that = this;
- return eachfn(fns, function (fn, cb) {
- fn.apply(that, args.concat([cb]));
- }, callback);
- });
- if (args.length) {
- return go.apply(this, args);
- } else {
- return go;
- }
- });
-}
-module.exports = exports['default']; \ No newline at end of file