@Thijs: thanks for a positive contribution. It seems few of us will have to "get together" and try and do this in parallel with the main- stream.
@dz: At last a number for you ;o) Andrea says that IE versions of jQ are 10 times slower ... @Andrea: Agreed. Although conceptually I am proposing to use JScript conditional comments. // Step 1 : one file inArray = function( elem, array ) { return array.indexOf(elem); } /*...@cc_on inArray = function( elem, array ) { for ( var i = 0, length = array.length; i < length; i++ ) { if ( array[ i ] === elem ) return i; }; return -1; } @*/ Seems cleaner? And/Or the next step with 2 files : jquery.2.js : ------------- inArray = function( elem, array ) { return array.indexOf(elem); } jquery.2.IE.js --------------- inArray = function( elem, array ) { for ( var i = 0, length = array.length; i < length; i++ ) { if ( array[ i ] === elem ) return i; }; return -1; } (to be included with IE HTML conditional comments) Of course this is all very interesting and a very big job. Step 1 (one file ) has its drawbacks, but issues in step 2 do mushroom exponentialy: client or server side compostion, why and how etc .. Server side composition gives more elegant client code, but then it requires a server side: <script src="http://your.server.here/jquery2.php" ></script> Above is pehaps nice, but it excludes local simple usage of jquery.js as we have it now. There are few valid ways to implement the composition and delivery mechanism. And none is "perfect" of course. The "big job" is in the process of breaking up jQuery into small discrete parts which can be used to compose many different versions, in acordance with browser AND in accordance with the capabilities of the browser. This would require some non-trivial coding, that is for sure. --DBJ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---