manually adapted after eslint --fix call due to our damn weird
indentation scheme
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
afterRequest: function(request, success) {
this.fireEvent('afterload', this, request, success);
- return;
},
constructor: function(config) {
});
}
- var rstore = me.rstore;
-
- var store = Ext.create('Proxmox.data.DiffStore', { rstore: rstore,
+ let rstore = me.rstore;
+ let store = Ext.create('Proxmox.data.DiffStore', {
+ rstore: rstore,
sorters: [],
filters: [],
});
cloneTemplates: function() {
var me = this;
- if (typeof me.cbindData == "function") {
+ if (typeof me.cbindData === "function") {
me.cbindData = me.cbindData(me.initialConfig);
}
me.cbindData = me.cbindData || {};
}
if (cname in me.cbindData) {
let res = me.cbindData[cname];
- if (typeof res == "function") {
+ if (typeof res === "function") {
return res(me.initialConfig);
} else {
return res;