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/doWhilst.js | |
parent | 1035fa8ab815ec16a321a58dbb85c5f67fa22be4 (diff) | |
download | async-b6c2449b3f71041509093c537a984163cbaad8ef.tar.gz |
iterator -> iteratee in lib/
Diffstat (limited to 'lib/doWhilst.js')
-rw-r--r-- | lib/doWhilst.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/doWhilst.js b/lib/doWhilst.js index b05d1d8..1cd56a7 100644 --- a/lib/doWhilst.js +++ b/lib/doWhilst.js @@ -2,9 +2,9 @@ import whilst from './whilst'; -export default function doWhilst(iterator, test, cb) { +export default function doWhilst(iteratee, test, cb) { var calls = 0; return whilst(function() { return ++calls <= 1 || test.apply(this, arguments); - }, iterator, cb); + }, iteratee, cb); } |