includes/clientside/firebug/firebugx.js
author Dan
Wed, 09 Apr 2008 19:27:02 -0400
changeset 526 b2fb50d572c7
parent 509 175df10e0b56
child 551 3acd624d4f4f
permissions -rw-r--r--
New plugin manager half-implemented. Most of the UI/frontend code is done. Moved sql_parse.php to /includes/ to allow use after installation - TODO: check installer, etc. for breakage


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