From 55974d21a824378b287e563bce4c32597060cfca Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Sun, 17 Jan 2010 12:06:15 -0500 Subject: Initial import --- docroot/lib/firebug/firebugx.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 docroot/lib/firebug/firebugx.js (limited to 'docroot/lib/firebug/firebugx.js') diff --git a/docroot/lib/firebug/firebugx.js b/docroot/lib/firebug/firebugx.js new file mode 100755 index 0000000..5a467fc --- /dev/null +++ b/docroot/lib/firebug/firebugx.js @@ -0,0 +1,10 @@ + +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() {} +} \ No newline at end of file -- cgit v1.2.3