From 9dcdf523009541e4e6724cfe2f5d78583538c6b0 Mon Sep 17 00:00:00 2001 From: Mathias Muller Date: Mon, 6 Oct 2014 09:59:35 +0200 Subject: [PATCH 1/2] #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()) ) { From 147685c12ec1ab2358589c4142308d79b9113ba6 Mon Sep 17 00:00:00 2001 From: Mathias Muller Date: Mon, 6 Oct 2014 10:00:25 +0200 Subject: [PATCH 2/2] #2234: Fix test typo IE11 do not have endEvent.target.classList so do not run right side of the test --- js/utils/tap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/utils/tap.js b/js/utils/tap.js index 4f6f150296..b2084f0a18 100644 --- a/js/utils/tap.js +++ b/js/utils/tap.js @@ -551,7 +551,7 @@ function tapHasPointerMoved(endEvent) { var endCoordinates = ionic.tap.pointerCoord(endEvent); var hasClassList = !!(endEvent.target.classList && endEvent.target.classList.contains); - var releaseTolerance = hasClassList & endEvent.target.classList.contains('button') ? + var releaseTolerance = hasClassList && endEvent.target.classList.contains('button') ? TAP_RELEASE_BUTTON_TOLERANCE : TAP_RELEASE_TOLERANCE;