DocumentServer/OfficeWeb/vendor/touch/src/ItemCollection.js
2015-04-28 17:59:00 +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());
}
});