includes/clientside/firebug/src/firebugx.js
author Dan
Mon, 26 Jan 2009 11:45:48 -0500
changeset 828 c5bca53b857a
parent 551 3acd624d4f4f
permissions -rw-r--r--
Added a few hooks to Admin:GeneralConfig (didn't I do this already?)


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() {}
}