source:
trunk/workshop-routing-foss4g/web/OpenLayers/lib/Firebug/firebugx.js
@
77
Revision 76, 337 bytes checked in by djay, 13 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | |
2 | if (!window.console || !console.firebug) { |
3 | var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", |
4 | "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; |
5 | |
6 | window.console = {}; |
7 | for (var i = 0; i < names.length; ++i) |
8 | window.console[names[i]] = function() {} |
9 | } |
Note: See TracBrowser
for help on using the repository browser.