mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Merge pull request #2351 from mathiasmuller4sh/master
fix(collectionrepeat): typo to allow collectionrepeat on WP8
This commit is contained in:
@@ -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()) ) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user