includes/clientside/firebug/src/firebugx.js
author Dan
Sat, 04 Apr 2009 22:35:44 -0400
changeset 895 d6b095673a47
parent 551 3acd624d4f4f
permissions -rw-r--r--
Session: additional metadata passed back from auth plugins is passed through to client for optional further parsing


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