firebug1.2 console is not defined
If what John J Barton says here ends up true in firebug1.2 then expect blocks like this one popping up soon:
try {
console.assert(1);
} catch(e) {
if (typeof loadFirebugConsole == 'function') {
loadFirebugConsole();
} else {
console = {
log: function() {},
debug: function() {},
info: function() {},
warn: function() {},
assert: function() {}
}
}
}
note: loadFirebugConsole doesn’t even work yet in the a11 build for some reason
I agree with Mark Kahn’s comment in that thread, while I like getting the firebug into a single namespace the need to have supporting code in order to toss in ‘console.log’ will be a pain in the ass.
update: looks like this won’t fly, John has a new proposal here: http://groups.google.com/group/firebug/msg/7bfa16953de9c501
- Published:
- 4.2.08 / 1pm
- Category:
- Firebug
1 Comment
comments rss | trackback uri