[Assorted-commits] SF.net SVN: assorted: [680] js-beautifier/trunk/README
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-04-24 16:27:30
|
Revision: 680 http://assorted.svn.sourceforge.net/assorted/?rev=680&view=rev Author: yangzhang Date: 2008-04-24 09:26:11 -0700 (Thu, 24 Apr 2008) Log Message: ----------- updated readme Modified Paths: -------------- js-beautifier/trunk/README Modified: js-beautifier/trunk/README =================================================================== --- js-beautifier/trunk/README 2008-04-24 16:13:04 UTC (rev 679) +++ js-beautifier/trunk/README 2008-04-24 16:26:11 UTC (rev 680) @@ -4,8 +4,22 @@ Overview -------- -This is a wrapper for the [elfz Javascript beautifier]. I found this to be the best Javascript beautifier available, but I needed to be able to run it in batch and from shell scripts. Since I needed also to parse Facebook's monstrous common.js file, I decided to also look into [Tamarin], Adobe's JIT gift to Mozilla. It provides the minimal file IO facilities needed to run this beautifier tool standalone. +This is a wrapper for the [elfz Javascript beautifier]. I found this to be the +best Javascript beautifier available, but I needed to be able to run it in +batch and from shell scripts. Since I needed also to parse Facebook's +monstrous common.js file, I decided to also look into [Tamarin], Adobe's JIT +gift to Mozilla. It provides the minimal file IO facilities needed to run this +beautifier tool standalone, but most importantly, I had to beautify a lot of +code, so it behooved me to use the fastest JS implementation available. [elfz Javascript beautifier]: http://elfz.laacz.lv/beautify/ [Tamarin]: http://www.mozilla.org/projects/tamarin/ +Setup +----- + +To build Tamarin, you need to follow the instructions on the [MDC]. Tamarin is +a bit different from most JS implementations in that compilation to bytecode is +performed separately from the execution (javac:java::asc:avmplus). + +[MDC]: http://developer.mozilla.org/en/docs/Tamarin_Build_Documentation This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |