mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(collectionRepeatDataSource): remove accidental test variable
This commit is contained in:
@@ -76,13 +76,11 @@ function($cacheFactory, $parse, $rootScope) {
|
||||
return item;
|
||||
},
|
||||
getItem: function(hash) {
|
||||
window.AMOUNT = window.AMOUNT || 0;
|
||||
if ( (item = this.attachedItems[hash]) ) {
|
||||
//do nothing, the item is good
|
||||
} else if ( (item = this.backupItemsArray.pop()) ) {
|
||||
reconnectScope(item.scope);
|
||||
} else {
|
||||
AMOUNT++;
|
||||
item = this.createItem();
|
||||
}
|
||||
return item;
|
||||
|
||||
Reference in New Issue
Block a user