aboutsummaryrefslogtreecommitdiffstats
path: root/src/apis.js
diff options
context:
space:
mode:
authorIgor Minar2012-08-31 13:41:10 -0700
committerIgor Minar2012-08-31 13:59:03 -0700
commit5e9041818bca770c9261a3963e05dbb3c7ca2f06 (patch)
tree9ca0b713d32ecb9d19a611759043b31f4270d18b /src/apis.js
parentdb861db1f239bdb2c13f157e2632cb2bc76f0432 (diff)
downloadangular.js-5e9041818bca770c9261a3963e05dbb3c7ca2f06.tar.bz2
revert: fix(ng-repeat) to work with primitive types
this was accidentaly merged in. the commit is not ready yet and we don't have CLA signature. This reverts commit 98d489712eff7559bce87ae53bd242112a875c1a.
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];
- }
}
};