From 4a1b9e20dbf7ac43626b07baa5084a24c0c53597 Mon Sep 17 00:00:00 2001 From: Fabrice Creuzot Date: Fri, 10 Jul 2020 19:26:36 +0200 Subject: [PATCH] Remove disabled console emulation --- js/varien/js.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/js/varien/js.js b/js/varien/js.js index e7d42516cfde..a8bafb8419a7 100644 --- a/js/varien/js.js +++ b/js/varien/js.js @@ -649,18 +649,6 @@ Element.addMethods({ } }); -/* -if (!("console" in window) || !("firebug" in console)) -{ - var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", - "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; - - window.console = {}; - for (var i = 0; i < names.length; ++i) - window.console[names[i]] = function() {} -} -*/ - /** * Executes event handler on the element. Works with event handlers attached by Prototype, * in a browser-agnostic fashion.