web-apps/vendor/touch/src/ItemCollection.js
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

15 lines
256 B
JavaScript

/**
* @private
*/
Ext.define('Ext.ItemCollection', {
extend: 'Ext.util.MixedCollection',
getKey: function(item) {
return item.getItemId();
},
has: function(item) {
return this.map.hasOwnProperty(item.getId());
}
});