doSeries.js
503 Bytes
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = doSeries;
var _eachOfSeries = require('../eachOfSeries');
var _eachOfSeries2 = _interopRequireDefault(_eachOfSeries);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function doSeries(fn) {
return function (obj, iteratee, callback) {
return fn(_eachOfSeries2.default, obj, iteratee, callback);
};
}
module.exports = exports['default'];