How to deminify javascript [duplicate]
Possible Duplicate:
Online Tool to Unminify / Decompress JavaScript Tool to reverse Javascript minify?
Is there a way to convert minified JavaScript code into normal?
http://jsbeautifier.org/ works like a charm.
Most software distributed under the GPL license will also provide non-minified code.
I use WebStorm by JetBrains for my Javascript IDE, it has auto-format which seems to do the trick pretty well.
Chrome's native object inspector will format JS for you, but it won't be able to make sense of the variable names - nothing will.
If you want an online solution, use JSBeautifier. It works well, and is also very handy for making sense of some of the questions you see here on StackOverflow.
精彩评论