diff --git a/lib/createParallel.js b/lib/createParallel.js index 86f4725..5be10a3 100644 --- a/lib/createParallel.js +++ b/lib/createParallel.js @@ -3,7 +3,7 @@ var _ = require('lodash'); var async = require('async'); -function createSeries(mapFn){ +function createParallel(mapFn){ function buildParallel(){ var args = _.flatten(arguments); @@ -18,4 +18,4 @@ function createSeries(mapFn){ return buildParallel; } -module.exports = createSeries; +module.exports = createParallel; diff --git a/lib/createSeries.js b/lib/createSeries.js index 239f4d0..bd2f275 100644 --- a/lib/createSeries.js +++ b/lib/createSeries.js @@ -3,7 +3,7 @@ var _ = require('lodash'); var async = require('async'); -function createSeries(mapFn, onDone){ +function createSeries(mapFn){ function buildSeries(){ var args = _.flatten(arguments); diff --git a/settle/series.js b/settle/series.js index f82f1ad..abe2d89 100644 --- a/settle/series.js +++ b/settle/series.js @@ -6,7 +6,7 @@ var asyncSettle = require('async-settle'); var onSettled = require('../lib/onSettled'); -function buildParallel(){ +function buildSeries(){ var args = _.flatten(arguments); function settleSeries(done){ @@ -16,4 +16,4 @@ function buildParallel(){ return settleSeries; } -module.exports = buildParallel; +module.exports = buildSeries;