0
Debugging with Firebug
Posted by weatherangel on Jan 23, 2009 in browsers
Cool article to print out and keep handy on debugging using Firebug. Sadly, I’ve still been using Alert. Call me dinosaur, but it’s worked for me — but I’m trying to change that!
This code snippet will help out with browsers that do not have a console function
var console;
if (console == undefined)
console = new function()
{
this.error = function(src) { alert("Error ---\n\n" + src); };
this.log = noop();
}
