[jquery-dev] Duplicate Code

2010-01-15 Thread Sean Catchpole
While reading the jQuery 1.4 source code I've noticed that the following is written twice. Is there any documentation on making patches to the jQuery code and how to submit them? if ( indexOf ) { jQuery.inArray = function( elem, array ) { return indexOf.call( array, elem );

[jquery-dev] Possible dead code in buildFragment

2010-01-15 Thread Sean Catchpole
When reading the jquery 1.4 source code I noticed that inside the buildFragment function the variable 'cached' is declared, but never used. Removing it will also allow removing the extra if(cacheresults) {} check. I would be happy to make this change myself, but I'm unsure how to submit my change a