From 5e9041818bca770c9261a3963e05dbb3c7ca2f06 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 31 Aug 2012 13:41:10 -0700 Subject: 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. --- 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