summaryrefslogtreecommitdiff
path: root/lib/waterfall.js
diff options
context:
space:
mode:
authorGraeme Yeates <yeatesgraeme@gmail.com>2015-12-23 18:29:52 -0500
committerGraeme Yeates <yeatesgraeme@gmail.com>2015-12-29 16:48:48 -0500
commit1448f24a5e7d5c4b9ff56ef573d35291511c2a71 (patch)
tree3efbaea4ef8ac80ef7c37bf1bcbdeeee5dd7dd81 /lib/waterfall.js
parent18e61d4f07f48604601f2effdbe2a7e188d14d4a (diff)
downloadasync-1448f24a5e7d5c4b9ff56ef573d35291511c2a71.tar.gz
Fix implementations (test green lights)
Diffstat (limited to 'lib/waterfall.js')
-rw-r--r--lib/waterfall.js15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/waterfall.js b/lib/waterfall.js
index 54f111c..d82d344 100644
--- a/lib/waterfall.js
+++ b/lib/waterfall.js
@@ -1,11 +1,12 @@
'use strict';
-var once = require('async.util.once');
-var noop = require('async.util.noop');
-var isArray = require('async.util.isarray');
-var restParam = require('async.util.restparam');
-var ensureAsync = require('async.util.ensureasync');
-var iterator = require('async.iterator');
+import isArray from 'lodash/lang/isArray';
+import noop from 'lodash/utility/noop';
+import once from 'lodash/function/once';
+import restParam from 'lodash/function/restParam';
+
+import ensureAsync from './ensureAsync';
+import iterator from './iterator';
export default function(tasks, cb) {
cb = once(cb || noop);
@@ -28,4 +29,4 @@ export default function(tasks, cb) {
});
}
wrapIterator(iterator(tasks))();
-};
+}