Merge pull request #2351 from mathiasmuller4sh/master

fix(collectionrepeat): typo to allow collectionrepeat on WP8
This commit is contained in:
Adam Bradley
2014-10-07 09:38:41 -05:00
2 changed files with 2 additions and 1 deletions

View File

@@ -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()) ) {

View File

@@ -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;