some more eslint fixes

manually adapted after eslint --fix call due to our damn weird
indentation scheme

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-06-06 15:05:48 +02:00
parent 01031528ad
commit 4f1b9b8c3b
3 changed files with 5 additions and 6 deletions

View File

@ -12,7 +12,6 @@ Ext.define('Proxmox.RestProxy', {
afterRequest: function(request, success) {
this.fireEvent('afterload', this, request, success);
return;
},
constructor: function(config) {

View File

@ -261,9 +261,9 @@ Ext.define('Proxmox.grid.ObjectGrid', {
});
}
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: [],
});

View File

@ -10,7 +10,7 @@ Ext.define('Proxmox.Mixin.CBind', {
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 || {};
@ -21,7 +21,7 @@ Ext.define('Proxmox.Mixin.CBind', {
}
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;