diff options
author | Alexander Early <alexander.early@gmail.com> | 2016-03-18 16:19:11 -0700 |
---|---|---|
committer | Alexander Early <alexander.early@gmail.com> | 2016-03-18 16:19:11 -0700 |
commit | b6c2449b3f71041509093c537a984163cbaad8ef (patch) | |
tree | 2b9f35dcb2817bddf0c4b555e63d72feee435d7b /lib/doUntil.js | |
parent | 1035fa8ab815ec16a321a58dbb85c5f67fa22be4 (diff) | |
download | async-b6c2449b3f71041509093c537a984163cbaad8ef.tar.gz |
iterator -> iteratee in lib/
Diffstat (limited to 'lib/doUntil.js')
-rw-r--r-- | lib/doUntil.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/doUntil.js b/lib/doUntil.js index 3bc783f..d5f2b83 100644 --- a/lib/doUntil.js +++ b/lib/doUntil.js @@ -2,8 +2,8 @@ import doWhilst from './doWhilst'; -export default function doUntil(iterator, test, cb) { - return doWhilst(iterator, function() { +export default function doUntil(iteratee, test, cb) { + return doWhilst(iteratee, function() { return !test.apply(this, arguments); }, cb); } |