aboutsummaryrefslogtreecommitdiffstats
path: root/src/apis.js
diff options
context:
space:
mode:
authorIgor Minar2012-08-31 13:43:57 -0700
committerIgor Minar2012-08-31 13:44:36 -0700
commit0e1545eb04f217f24ecd4e1474cf4cb31c8c3ef0 (patch)
tree0dee59ebdacc5bfe259cfb56f418fbac978ffd0d /src/apis.js
parentec7cabf5c9a8df7b76d689c5002d7eba255d41f1 (diff)
downloadangular.js-0e1545eb04f217f24ecd4e1474cf4cb31c8c3ef0.tar.bz2
revert: fix(ng-repeat) to work with primitive types
this commit was accidentaly merged. it needs more work 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];
- }
}
};