diff options
author | Sergi Mansilla <sergi.mansilla@gmail.com> | 2012-02-22 10:43:49 +0100 |
---|---|---|
committer | Sergi Mansilla <sergi.mansilla@gmail.com> | 2012-02-22 10:43:49 +0100 |
commit | ca88b7e52fca14962a3835d1927989d8f3bae476 (patch) | |
tree | e0ff9081ed81a0c5e0323f55036d56a3d8a2b5aa /lib/async.js | |
parent | 68974db49ee6714e0995e3e21d9523919ad0a34b (diff) | |
download | async-ca88b7e52fca14962a3835d1927989d8f3bae476.tar.gz |
The function `_indexOf` is never used
Diffstat (limited to 'lib/async.js')
-rw-r--r-- | lib/async.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/async.js b/lib/async.js index 0bcd80d..2169827 100644 --- a/lib/async.js +++ b/lib/async.js @@ -64,18 +64,6 @@ return keys; }; - var _indexOf = function (arr, item) { - if (arr.indexOf) { - return arr.indexOf(item); - } - for (var i = 0; i < arr.length; i += 1) { - if (arr[i] === item) { - return i; - } - } - return -1; - }; - //// exported async module functions //// //// nextTick implementation with browser-compatible fallback //// |