*
* Designed to work with the KeyValue model and the JsonObject data reader
*/
-Ext.define('Proxmox.data.ObjectStore', {
+Ext.define('Proxmox.data.ObjectStore', {
extend: 'Proxmox.data.UpdateStore',
getRecord: function() {
config = config || {};
if (!config.storeid) {
- config.storeid = 'proxmox-store-' + (++Ext.idSeed);
+ config.storeid = 'proxmox-store-' + ++Ext.idSeed;
}
Ext.applyIf(config, {
type: 'jsonobject',
rows: config.rows,
readArray: config.readArray,
- rootProperty: config.root || 'data'
- }
- }
+ rootProperty: config.root || 'data',
+ },
+ },
});
me.callParent([config]);
- }
+ },
});