views:

2197

answers:

1

Duplicate:

Javascript Beautifier


Is there a way I can auto format my javascript so its readable?

I have a javascript file that is just one line but about a million columns white. I don't want to go through and tab through each function just so I can read it.

Anyone know of a program that will do this for me?

Thanks!

A: 

On OS X use Textmate with the JavaScript bundle.

apphacker