In firebug 1.2 console is not defined by default. See Changes to the ‘console’ object in Firebug 1.2.
Here’s Travis Cline’s solution. I would replace the function() {} definitions with window.alert for debugging in those other browsers.
Of course we’ll have to update this again if window.console becomes window.firebug.
No comments:
Post a Comment