I don't have the references, but I was just looking at some ruby tasks to push your .js against the YUI Compressor service. just do a search on github for yui.
On Tue, Jul 14, 2009 at 10:51 AM, Chris Lloyd<[email protected]> wrote: > 2009/7/14 Brian Chiha <[email protected]> >> >> I'm at the tail end of an RoR project with a heap of Javascript files >> (ExtJS). Has anyone used a JS Minifier written in Ruby (Preferable), >> that can minify and join files? We use Deprec, so getting in working >> via a release shouldn't be a hassle... > > Brian, > The only sort of minifier worth its weight is one that does some sort of > lexical analysis of the JS source tree. The best of breed at the moment is > the YUI Compressor. It's not Ruby, it's Java and uses Mozilla's > Spidermonkey, but that should hardly matter. Have a look at this talk for a > good understanding of exactly what it does and what is involved when you > want a proper JS "minifier". > Cheers, > Chris > -- > chrislloyd.com.au > > > > -- Mark Mansour [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~----------~----~----~----~------~----~------~--~---
