From 0e1545eb04f217f24ecd4e1474cf4cb31c8c3ef0 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 31 Aug 2012 13:43:57 -0700 Subject: 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. --- src/apis.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/apis.js') 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]; - } } }; -- cgit v1.2.3