aboutsummaryrefslogtreecommitdiffstats
path: root/src/apis.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/apis.js')
-rw-r--r--src/apis.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/apis.js b/src/apis.js
index 098d9cdd..7b470802 100644
--- a/src/apis.js
+++ b/src/apis.js
@@ -97,15 +97,5 @@ HashQueueMap.prototype = {
return array.shift();
}
}
- },
-
- /**
- * return the first item without deleting it
- */
- peek: function(key) {
- var array = this[key = hashKey(key)];
- if (array) {
- return array[0];
- }
}
};