Skip to content

Commit

Permalink
Remove disabled console emulation
Browse files Browse the repository at this point in the history
  • Loading branch information
luigifab committed Jul 10, 2020
1 parent 3e68ad7 commit ff7e346
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions js/varien/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ff7e346

Please # to comment.