includes/clientside/firebug/firebugx.js
author Dan
Wed, 09 Apr 2008 22:37:37 -0400
changeset 527 21e11f564463
parent 509 175df10e0b56
child 551 3acd624d4f4f
permissions -rw-r--r--
(Hopefully) finished new plugin manager and implemented the utilization of it. Still HIGHLY experimental.


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