From ff7e346ca2ebee6cfe9d70d65f92025d6d7d3d87 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 0a8905e4ca1..9469dd8922e 100644 --- a/js/varien/js.js +++ b/js/varien/js.js @@ -557,18 +557,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.