Does anyone know of a javascript library that will take a chunk of javascript source and format it according to some set of rules. I can of course do it in my editor but I would like to be able to automate it as part of a build process.
-
2Your build process is in Javascript? What?SLaks– SLaks2010-02-24 14:40:57 +00:00Commented Feb 24, 2010 at 14:40
-
So, why do you need this? I guess you could try "Counting" parenthesis and curly braces, but... honestly, why?Warty– Warty2010-02-24 17:08:20 +00:00Commented Feb 24, 2010 at 17:08
Add a comment
|