Re: [jQuery] JS Source code Formatter - Anyone know of any good ones

2007-03-02 Thread Sam Collett
On 02/03/07, harningt [EMAIL PROTECTED] wrote: Tsz Ming WONG wrote: maybe http://astyle.sourceforge.net/ ? you might need to tweak the settings for javascript. This seems the ideal tool to me, however it completely screws up when dealing w/ function creation.. Ex: /* Desired

Re: [jQuery] JS Source code Formatter - Anyone know of any good ones

2007-02-28 Thread R. Rajesh Jeba Anbiah
On Feb 20, 10:34 pm, harningt [EMAIL PROTECTED] wrote: Just wondering... does anyone know of any good source-code formatters for JavaScript. snip Possibly http://code.gosu.pl/dl/JsDecoder/demo/JsDecoder.html ? -- ?php echo 'Just another PHP saint'; ? Email: rrjanbiah-at-Y!comBlog:

Re: [jQuery] JS Source code Formatter - Anyone know of any good ones

2007-02-28 Thread Christof Donat
Hi, Chili, based on jquery http://www.mondotondo.com/aercolino/noteslog/?page_id=79 I think, He is looking for something like indent for javaScript. Christof ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] JS Source code Formatter - Anyone know of any good ones

2007-02-28 Thread Tsz Ming WONG
maybe http://astyle.sourceforge.net/ ? you might need to tweak the settings for javascript. On 2/28/07, Christof Donat [EMAIL PROTECTED] wrote: Hi, Chili, based on jquery http://www.mondotondo.com/aercolino/noteslog/?page_id=79 I think, He is looking for something like indent for

Re: [jQuery] JS Source code Formatter - Anyone know of any good ones

2007-02-28 Thread Mark Lincoln
Try this. http://www.jcay.com/javascript-code-improver.html Mark On 2/28/07, Tsz Ming WONG [EMAIL PROTECTED] wrote: maybe http://astyle.sourceforge.net/ ? you might need to tweak the settings for javascript. On 2/28/07, Christof Donat [EMAIL PROTECTED] wrote: Hi, Chili, based on

[jQuery] JS Source code Formatter - Anyone know of any good ones

2007-02-20 Thread harningt
Just wondering... does anyone know of any good source-code formatters for JavaScript. I see plenty that use the dirt-simple eval().tostring trick but that doesn't work good/right. It'd be best if the formatter was a console app, so I could script it to clean up the code in the tree.