There are a ton of warnings and it slows prototype down in firefox.
Most of them could be fixed with simple parenthesis usage, but some
are due to other poor coding (like not always returning a value
instead of returning null or undefined).

For example, there's a TON of these:

     Warning: test for equality (==) mistyped as assignment (=)?
     Line: 3423, Column: 36
     Source Code:  if (m = e.match(p[i].re)) {

That should be written like this (assuming I'm interpreting the code's
intention correctly):

     if ( ( m = e.match(p[i].re) ) ) {

The extra parenthesis gets rid of the warning and correctly tells it
you're setting m = e.matchup and THEN checking if THAT exists (or is
true).

Fixing these warnings/code problems actually speeds up prototype.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to