[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 );
};
}

-- 
You received this message because you are subscribed to the Google Groups 
jQuery Development group.
To post to this group, send email to jquery-...@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.




Re: [jquery-dev] Duplicate Code

2010-01-15 Thread John Resig
Yeah, removed that earlier today. Must've been a copy-paste snafu.

--John



On Fri, Jan 15, 2010 at 2:24 PM, Sean Catchpole
littlecoold...@gmail.com wrote:
 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 );
        };
 }


 --
 You received this message because you are subscribed to the Google Groups 
 jQuery Development group.
 To post to this group, send email to jquery-...@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.




-- 
You received this message because you are subscribed to the Google Groups 
jQuery Development group.
To post to this group, send email to jquery-...@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.