From b5c3aa00c077dfd02d359708097f3a0d5aecd187 Mon Sep 17 00:00:00 2001 From: Benjamin Tan Date: Fri, 18 Jul 2014 14:30:04 +0800 Subject: [PATCH] Update: Correct internal function names --- lib/createParallel.js | 4 ++-- lib/createSeries.js | 2 +- settle/series.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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;