0

Is there any tool already available that could revert the optimized blob back into human readable, easily-understandable state?

gsklee
  • 4,774
  • 4
  • 39
  • 55

1 Answers1

0

Depending on the options, most of the useful information is destroyed in the process, but UglifyJS2 itself can re-add indentation and such. However, local variable names, comments, and sometimes (again, depending on options) other things are destroyed.

icktoofay
  • 126,289
  • 21
  • 250
  • 231
  • Could you elaborate a bit more on "the useful information" bit? What kind of information, exactly? Thought the uglification is mainly about name mangling and line concatenation. – gsklee Dec 28 '12 at 11:25
  • @Kay: Mostly names, I guess. I don't know about UglifyJS since I primarily use Closure Compiler, but Closure Compiler can inline functions and perform other similar optimizations too. – icktoofay Dec 29 '12 at 02:28