From 9dcdf523009541e4e6724cfe2f5d78583538c6b0 Mon Sep 17 00:00:00 2001 From: Mathias Muller Date: Mon, 6 Oct 2014 09:59:35 +0200 Subject: [PATCH] #2234: Declare local variable IE11 needs local variable to be declared --- js/angular/service/collectionRepeatDataSource.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/angular/service/collectionRepeatDataSource.js b/js/angular/service/collectionRepeatDataSource.js index f10ca42d13..3a18238aa9 100644 --- a/js/angular/service/collectionRepeatDataSource.js +++ b/js/angular/service/collectionRepeatDataSource.js @@ -69,6 +69,7 @@ function($cacheFactory, $parse, $rootScope) { return item; }, getItem: function(index) { + var item; if ( (item = this.attachedItems[index]) ) { //do nothing, the item is good } else if ( (item = this.backupItemsArray.pop()) ) {