[jQuery] Re: $.inArray optimisation

2009-08-25 Thread KeeganWatkins
@morningz - it wouldn't surprise me. Nonetheless, if it were up to me, (which it's not), jQuery wouldn't use it until it becomes standardized. Prototype, MooTools and other competitors all augment native data types, and it drives me nuts. Respect for the environment is one of the features of jQuer

[jQuery] Re: $.inArray optimisation

2009-08-25 Thread KeeganWatkins
it does not work in every browser. the purpose of jQuery and similar libraries is to streamline development and create a (mostly) consistent foundation to build on, regardless of browser. if you're interested in gaining some performance, or just using the latest JS features, i'd suggest implementi

[jQuery] Re: $.inArray optimisation

2009-08-25 Thread MorningZ
"IMO, it doesn't belong in the core" I think I read somewhere that a check for that usage will be in 1.3.3 core, but damned if I can find where I saw that stated On Aug 25, 9:59 am, KeeganWatkins wrote: > it does not work in every browser. the purpose of jQuery and similar > libraries is to

[jQuery] Re: $.inArray optimisation

2009-08-24 Thread Cesar Sanz
Does it works for every browser? - Original Message - From: "gurdiga" To: "jQuery (English)" Sent: Sunday, August 23, 2009 1:07 PM Subject: [jQuery] $.inArray optimisation Hello, The $.inArray function is defined in http://jqueryjs.googlecode.com/svn/trunk/jquery/src/core.js a