Skip Menu |

This queue is for tickets about the JavaScript-Beautifier CPAN distribution.

Report information
The Basics
Id: 63479
Status: open
Priority: 0/
Queue: JavaScript-Beautifier

Owner: Nobody in particular
Requestors: atomantic [...]

Bug Information
Severity: Important
Broken in: 0.17
Fixed in: (no value)

Download (untitled) / with headers
text/plain 439b
The new sexy standard for creating multiple variables in javascript is like so: var x = 1, y = 2; correctly identifies that new var declarations after the comma should be indented once to nest after the 'var' keyword, however the perl script misses this, leaving the 'y' unindented at the same position as 'var'. BTW, thanks for the awesome script--this is just what I needed to get TextMate to format js :)
Download (untitled) / with headers
text/plain 151b
Втр Ноя 30 17:33:45 2010, antic писал: Note that rt eaten indenting whitespaces, i think code should looks like: Show quoted text
> var x = 1, > y = 2;
Argh! Code: var x = 1,     y = 2;

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to