jquery core: Removed an orphaned line. Thanks mose.
authorAriel Flesler <aflesler@gmail.com>
Sat, 27 Dec 2008 18:21:54 +0000 (18:21 +0000)
committerAriel Flesler <aflesler@gmail.com>
Sat, 27 Dec 2008 18:21:54 +0000 (18:21 +0000)
src/core.js

index 3900a0a..09e6895 100644 (file)
@@ -151,8 +151,6 @@ jQuery.fn = jQuery.prototype = {
        // Determine the position of an element within
        // the matched set of elements
        index: function( elem ) {
-               var ret = -1;
-
                // Locate the position of the desired element
                return jQuery.inArray(
                        // If it receives a jQuery object, the first element is used