Storm Blog

How To: Nicely format compressed and minified JavaScript in Chrome

I’ve just found a button that is full of complete win in Chrome.  For years I’ve struggled to debug problems in jQuery plugins and other people’s scripts that are served in compressed, minified form.  Not any more!

Before

Compressed and Minified jQuery

The Magical Pretty Print Button

Pretty Print

After

Uncompressed and readable jQuery

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>