includes/clientside/firebug/src/firebugx.js
author Dan
Mon, 13 Apr 2009 12:05:46 -0400
changeset 903 b8db9a7946fc
parent 551 3acd624d4f4f
permissions -rw-r--r--
Theme selector: controls height now (limits box to height of screen minus a few px of padding) if there are lots of themes


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