includes/clientside/firebug/firebugx.js
changeset 509 175df10e0b56
child 551 3acd624d4f4f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/includes/clientside/firebug/firebugx.js	Wed Mar 26 02:56:23 2008 -0400
@@ -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