Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

December 10 2008

intranation

Avoiding Firebug Snaids

If you’re getting the following error in Firebug:

"Console" is not defined

You need to run console.log() in the global scope before using it, like so:

console.log();
jQuery(function($){
    $('selector').each(function(){
        console.log(this); // this used to cause an error
    });
});