mirror of
https://github.com/beautifier/js-beautify.git
synced 2024-11-27 14:40:23 +00:00
Beautifier for javascript
4cb412bc09
var_line_reindented flag was not removed, when the var-statement finished, resulting in an erroneous indent, e.g: (function () { var Y = YAHOO, yue = yut.Event; Y.T = function (a) { this.init(a); // <<<<< }; // <<<<< // some things... })(); |
||
---|---|---|
bin | ||
tests | ||
unmaintained | ||
unpackers | ||
beautify-cl.js | ||
beautify-html.js | ||
beautify.js | ||
index.html | ||
license.txt | ||
readme.txt |
JS Beautifier --------------- ...or, more specifically, all of the code powering jsbeautifier.org. This little beautifier will reformat and reindent bookmarklets, ugly javascript, unpack scripts packed by the popular Dean Edward's packer, as well as deobfuscate scripts processed by javascriptobfuscator.com. You are free to use this in any way you want, in case you find this useful or working for you. To beautify from the command-line you can use provided beautify-cl.js script, using Rhino javascript engine. See the file contents for the details. Written by Einar Lielmanis, <einar@jsbeautifier.org> Thanks to Jason Diamond, Patrick Hof, Nochum Sossonko, Andreas Schneider, Dave Vasilevsky, Vital Batmanov, Ron Baldwin, Gabriel Harrison and others.