Is there a compacted .js file that contains all of the required .js for scriptaculous? Most of the files are very readable for humans, but contain a lot of whitespace, which is extra bytes my web server has to serve up needlessly. I''d like 1 .js file that is cleaned of as much whitespace as possible and contains all of the .js files for effects as well as the bundled prototype.js file. Has anyone done this already? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On Aug 20, 2007, at 4:53 PM, Hemna wrote:> > Is there a compacted .js file that contains all of the required .js > for scriptaculous? Most of the files are very readable for humans, > but contain a lot of whitespace, which is extra bytes my web server > has to serve up needlessly. > > I''d like 1 .js file that is cleaned of as much whitespace as possible > and contains all of the .js files for effects as well as the bundled > prototype.js file. Has anyone done this already?Yes, this has been done already. See: http://groups.google.com/group/prototype-core/files It includes several different combinations/compression methods. --Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
ok that kinda works. I am using the compressed prototype.js and scriptaculous.js files from that .zip now, but I''m getting bogus requests for a nameless .js file. Firebug is reporting that after I include /test/prototype.js and /test/scriptaculous.js the browser is trying to fetch /test/.js my raw html doesn''t include that. I guess scriptaculous is trying to include some external .js for something automatically? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---