[pve-devel] [PATCH manager 1/3] ui/Utils: do not create non-standard console.dir fallback

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Mar 26 08:18:22 CEST 2018


resolves a future jslint type confusion and as it's nor standarized
nor used by our code we can just drop it.

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager6/Utils.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index 6345b2b4..58cc9fb3 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -10,7 +10,6 @@ Ext.enableAriaPanels = false;
 // avoid errors when running without development tools
 if (!Ext.isDefined(Ext.global.console)) {
     var console = {
-	dir: function() {},
 	log: function() {}
     };
 }
-- 
2.14.2





More information about the pve-devel mailing list