Hi Vincent,

You are correct the $super var is an issue when variable shrinking
prototype.
The recent builds of YUI Compressor ignore the $super variable in
Prototype and other code.
http://developer.yahoo.com/yui/compressor/

You may also use ProtoPack a package of compressed, minified, variable
shrunk, base 62 encoded, and gzipped versions of Prototype and
Scriptaculous.
Also ProtoSafe has a modify.html tool that uses a customized verison
of Dean Edwards packer (with support for the $super variable) as well.
http://code.google.com/p/protosafe/downloads/list

For best compression results you can remove whitespace + variable
shrink + gzip.

Also the version of JSMin linked to by Jon L has issues with Prototype
1.6. If you use JSMin you want to use this version:
http://code.google.com/p/jsmin-php/

The $super variable issue is discussed more here:
http://ajax.sys-con.com/read/464826.htm

- JDD

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to