mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
@@ -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()) ) {
|
||||
|
||||
Reference in New Issue
Block a user