summaryrefslogtreecommitdiff
path: root/docroot/lib/firebug/firebugx.js
diff options
context:
space:
mode:
Diffstat (limited to 'docroot/lib/firebug/firebugx.js')
-rwxr-xr-xdocroot/lib/firebug/firebugx.js10
1 files changed, 10 insertions, 0 deletions
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 @@
1
2if (!("console" in window) || !("firebug" in console))
3{
4 var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
5 "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
6
7 window.console = {};
8 for (var i = 0; i < names.length; ++i)
9 window.console[names[i]] = function() {}
10} \ No newline at end of file