includes/clientside/firebug/firebugx.js
author Dan
Wed, 26 Mar 2008 16:51:42 -0400
changeset 510 290fa071842a
parent 509 175df10e0b56
child 551 3acd624d4f4f
permissions -rw-r--r--
Fixed some bugs in the installer that prevented it from working without mod_rewrite and/or with a table_prefix present


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