diff options
author | Alexander Early <alexander.early@gmail.com> | 2016-02-23 16:09:53 -0800 |
---|---|---|
committer | Alexander Early <alexander.early@gmail.com> | 2016-02-23 16:10:07 -0800 |
commit | 070ed49496d5cf0b3c31a8091608610961191238 (patch) | |
tree | e26f489e37ae3a227867b3d1dfe6c04afa361c23 /build-es/doDuring.js | |
parent | 3cf46d01b44c31203f4e59db280378a58d760d0d (diff) | |
download | async-modularization.tar.gz |
gitignore build directoriesmodularization
Diffstat (limited to 'build-es/doDuring.js')
-rw-r--r-- | build-es/doDuring.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/build-es/doDuring.js b/build-es/doDuring.js deleted file mode 100644 index c13e62b..0000000 --- a/build-es/doDuring.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -import during from './during'; - -export default function doDuring(iterator, test, cb) { - var calls = 0; - - during(function(next) { - if (calls++ < 1) return next(null, true); - test.apply(this, arguments); - }, iterator, cb); -} |