summaryrefslogtreecommitdiff
path: root/lib/async.js
diff options
context:
space:
mode:
authorSergi Mansilla <sergi.mansilla@gmail.com>2012-02-22 10:43:49 +0100
committerSergi Mansilla <sergi.mansilla@gmail.com>2012-02-22 10:43:49 +0100
commitca88b7e52fca14962a3835d1927989d8f3bae476 (patch)
treee0ff9081ed81a0c5e0323f55036d56a3d8a2b5aa /lib/async.js
parent68974db49ee6714e0995e3e21d9523919ad0a34b (diff)
downloadasync-ca88b7e52fca14962a3835d1927989d8f3bae476.tar.gz
The function `_indexOf` is never used
Diffstat (limited to 'lib/async.js')
-rw-r--r--lib/async.js12
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 ////