Watch out for problems with unecessary 'var' usage. The only two
places I know of right now is in the Event object. Event.observe and
Event.stopObserving redefine element param passed in and it messing
things up. Just take out the var in this line:

var element = $(element);

That is the only problem I've run into the with the ShrinkSafe thus far.

Brandon

On 8/18/06, Brian Feliciano <[EMAIL PROTECTED]> wrote:
the dojo compressor seems to be working fine.

thanks!



On 8/17/06, Samuel DeVore <[EMAIL PROTECTED]> wrote:
>
> Using the dojo javascript compressor has worked for me
>
>
>
> On 8/17/06, Thomas Fuchs <[EMAIL PROTECTED] > wrote:
> >
> >
> > This has been extensively discussed in the past.
> >
> >
> > Search the list archives for "javascript compress":
> >
http://search.gmane.org/search.php?group=gmane.comp.lang.ruby.rails.spinoffs&query=javascript+compress
> >
> >
> > -Thomas
> >
> >
> >
> >
> > Am 17.08.2006 um 12:22 schrieb Brian Feliciano:
> >
> >
> > Hi! I really find prototype useful. so useful, my projects has been
dependent on this framework. but the problem about prototype is it's kinda
big (55K!) compared to it's contemporaries ( e.g. jquery).
> >
> > moving to another js framework isn't really an option for me unless the
situation become really hopeless. i am up to the task of optimizing our
codes so i really find prototype really big.
> >
> > is there an available minified version of prototype? i tried jsmin but
returns an error. is there an available prototype.js that is
jslint(www.jslint.com) friendly and can be actually minified?
> >
> >
> > thanks
> >
> >
> >
> > --
> >
//////////////////////////////////////////////////////////////////////////////////
> > REDBAKS=function (){
> > var b,r,i,a,n="b='646f63756d656e742e777269746528225"+
> > "4686572652773206d6f7265207468616e206f6e65207761792"+
> > "0746f20646f20697421203c62723e3c693e202d2d206120766"+
> > "5727920706f70756c6172207065726c2076697274756520283"+
> > "c6120687265663d5c22687474703a2f2f72656462616b732e6"+
> > "92e70682f5c22207461726765743d5c225f626c616e6b5c223"+
> > "e72656442616b733c2f613e293c2f693e22293b';a='';for("+
> >
"i=0;i<b.length;i+=2){a+=unescape('%'+b.substr(i,2))};a";
> > while(n=eval(n));}();
> >
//////////////////////////////////////////////////////////////////////////////////
> >
> >
> >
> > _______________________________________________
> > Rails-spinoffs mailing list
> > Rails-spinoffs@lists.rubyonrails.org
> >
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> >
> >
> > --
> > Thomas Fuchs
> > wollzelle
> >
> >
> > http://www.wollzelle.com
> >
> >
> > questentier on AIM
> > madrobby on irc.freenode.net
> >
> > http://www.fluxiom.com :: online digital asset management
> > http://script.aculo.us :: Web 2.0 JavaScript
> > http://mir.aculo.us :: Where no web developer has gone before
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Rails-spinoffs mailing list
> > Rails-spinoffs@lists.rubyonrails.org
> >
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> >
> >
> >
>
>
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs@lists.rubyonrails.org
>
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
>
>



--
//////////////////////////////////////////////////////////////////////////////////
REDBAKS=function (){
var b,r,i,a,n="b='646f63756d656e742e777269746528225"+
"4686572652773206d6f7265207468616e206f6e65207761792"+
"0746f20646f20697421203c62723e3c693e202d2d206120766"+
"5727920706f70756c6172207065726c2076697274756520283"+
"c6120687265663d5c22687474703a2f2f72656462616b732e6"+
"92e70682f5c22207461726765743d5c225f626c616e6b5c223"+
"e72656442616b733c2f613e293c2f693e22293b';a='';for("+
"i=0;i<b.length;i+=2){a+=unescape('%'+b.substr(i,2))};a";
while(n=eval(n));}();
//////////////////////////////////////////////////////////////////////////////////

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs



_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to