]> source.dussan.org Git - jquery.git/commitdiff
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 3900a0a5c629b532c1a91c865a659265318a7c25..09e6895856776e46594ad730c75d266e06a088f6 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