From 2c1d504e90e9f189d1dbce4f7841b34a9943c259 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Thu, 28 Sep 2017 13:45:40 +0200 Subject: [PATCH] jslint: globals adds the global object proxmox to most files Signed-off-by: Dominik Csapak --- js/ActionList.js | 1 + js/LDAPProfileSelector.js | 1 + js/LoginView.js | 1 + js/MainView.js | 1 + js/ObjectGroupList.js | 1 + js/RegexTester.js | 1 + js/RuleInfo.js | 1 + js/ServerAdministration.js | 1 + js/ServerStatus.js | 1 + js/SpamQuarantine.js | 1 + js/Utils.js | 1 + 11 files changed, 11 insertions(+) diff --git a/js/ActionList.js b/js/ActionList.js index 2792d77..152386c 100644 --- a/js/ActionList.js +++ b/js/ActionList.js @@ -1,3 +1,4 @@ +/*global Proxmox*/ Ext.define('pmg-action-list', { extend: 'Ext.data.Model', fields: [ diff --git a/js/LDAPProfileSelector.js b/js/LDAPProfileSelector.js index 102c663..afb8f44 100644 --- a/js/LDAPProfileSelector.js +++ b/js/LDAPProfileSelector.js @@ -1,3 +1,4 @@ +/*global Proxmox*/ Ext.define('PMG.LDAPProfileSelector', { extend: 'Proxmox.form.ComboGrid', alias: 'widget.pmgLDAPProfileSelector', diff --git a/js/LoginView.js b/js/LoginView.js index e8ea7d2..69f49b6 100644 --- a/js/LoginView.js +++ b/js/LoginView.js @@ -1,3 +1,4 @@ +/*global Proxmox*/ Ext.define('PMG.LoginView', { extend: 'Ext.container.Container', xtype: 'loginview', diff --git a/js/MainView.js b/js/MainView.js index f885116..9d96801 100644 --- a/js/MainView.js +++ b/js/MainView.js @@ -1,3 +1,4 @@ +/*global Proxmox*/ Ext.define('PMG.MainView', { extend: 'Ext.container.Container', xtype: 'mainview', diff --git a/js/ObjectGroupList.js b/js/ObjectGroupList.js index 8df7bcd..a67b585 100644 --- a/js/ObjectGroupList.js +++ b/js/ObjectGroupList.js @@ -1,3 +1,4 @@ +/*global Proxmox*/ Ext.define('pmg-object-group', { extend: 'Ext.data.Model', fields: [ 'id', 'name', 'info' ], diff --git a/js/RegexTester.js b/js/RegexTester.js index 31d804b..85b135e 100644 --- a/js/RegexTester.js +++ b/js/RegexTester.js @@ -1,3 +1,4 @@ +/*global Proxmox*/ Ext.define('PMG.RegexTester', { extend: 'Ext.form.FieldContainer', alias: 'widget.pmgRegexTester', diff --git a/js/RuleInfo.js b/js/RuleInfo.js index 4b92360..a80ce26 100644 --- a/js/RuleInfo.js +++ b/js/RuleInfo.js @@ -1,3 +1,4 @@ +/*global Proxmox*/ Ext.define('PMG.RuleInfo', { extend: 'Ext.panel.Panel', xtype: 'pmgRuleInfo', diff --git a/js/ServerAdministration.js b/js/ServerAdministration.js index bc8b37b..15e5a2e 100644 --- a/js/ServerAdministration.js +++ b/js/ServerAdministration.js @@ -1,3 +1,4 @@ +/*global Proxmox*/ Ext.define('PMG.ServerAdministration', { extend: 'Ext.tab.Panel', alias: 'widget.pmgServerAdministration', diff --git a/js/ServerStatus.js b/js/ServerStatus.js index 7f47f46..8ff793b 100644 --- a/js/ServerStatus.js +++ b/js/ServerStatus.js @@ -1,3 +1,4 @@ +/*global Proxmox*/ Ext.define('PMG.ServerStatus', { extend: 'Ext.panel.Panel', alias: 'widget.pmgServerStatus', diff --git a/js/SpamQuarantine.js b/js/SpamQuarantine.js index f406a46..ac22469 100644 --- a/js/SpamQuarantine.js +++ b/js/SpamQuarantine.js @@ -1,3 +1,4 @@ +/*global Proxmox*/ Ext.define('pmg-spam-archive', { extend: 'Ext.data.Model', fields: [ diff --git a/js/Utils.js b/js/Utils.js index 4ee6c15..d477759 100644 --- a/js/Utils.js +++ b/js/Utils.js @@ -1,3 +1,4 @@ +/*global Proxmox */ Ext.ns('PMG'); console.log("Starting PMG Manager");