]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - panel/GaugeWidget.js
make eslint 100% happy
[proxmox-widget-toolkit.git] / panel / GaugeWidget.js
index b5c15392f87317301773ff01e21d606be7d12d20..6cd6b602a54bbea4e1957327b0558101a40bea19 100644 (file)
@@ -61,9 +61,9 @@ Ext.define('Proxmox.panel.GaugeWidget', {
 
 
     updateValue: function(value, text) {
-       var me = this;
-       var color = me.defaultColor;
-       var attr = {};
+       let me = this;
+       let color = me.defaultColor;
+       let attr = {};
 
        if (value >= me.criticalThreshold) {
            color = me.criticalColor;
@@ -88,7 +88,7 @@ Ext.define('Proxmox.panel.GaugeWidget', {
     },
 
     initComponent: function() {
-       var me = this;
+       let me = this;
 
        me.callParent();