The inArray declaration was accidentally duplicated.
authorJohn Resig <jeresig@gmail.com>
Fri, 15 Jan 2010 15:49:18 +0000 (10:49 -0500)
committerJohn Resig <jeresig@gmail.com>
Fri, 15 Jan 2010 15:49:18 +0000 (10:49 -0500)
src/core.js

index edd1089..5b8388e 100644 (file)
@@ -734,12 +734,6 @@ function doScrollCheck() {
        jQuery.ready();
 }
 
-if ( indexOf ) {
-       jQuery.inArray = function( elem, array ) {
-               return indexOf.call( array, elem );
-       };
-}
-
 function evalScript( i, elem ) {
        if ( elem.src ) {
                jQuery.ajax({