https://bugzilla.wikimedia.org/show_bug.cgi?id=24268

Michael Dale <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Michael Dale <[email protected]> 2010-07-05 19:26:59 UTC ---
Scripts should not extend base object prototypes! .. But to the extent this can
be worked around I use for( i = 0; array.length; i++ ) for arrays.  If a script
extends the base "Object" prototype that will be complicated to work around and
slow everything down since every for loop in the entire codebase would have to
check the property types instance variables and or use function heavy
jQuery.each(object, function(inx, item){ /*..*/ });  iterator, which is a lot
of overhead for some of loops that need to be fast. 

fixed in r69064

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to