]> source.dussan.org Git - jquery.git/commitdiff
remove an unused variable and its assignment in the 'map' method
authorEd Engelhardt <edengelhardt@gmail.com>
Tue, 22 May 2007 10:37:54 +0000 (10:37 +0000)
committerEd Engelhardt <edengelhardt@gmail.com>
Tue, 22 May 2007 10:37:54 +0000 (10:37 +0000)
src/jquery/jquery.js

index 5c9dcf3bd68599a168a1b398338cc10167608fe6..1be9c91c6b359e860fa5f43638a1c3d225296473 100644 (file)
@@ -1770,7 +1770,7 @@ jQuery.extend({
                if ( typeof fn == "string" )
                        fn = new Function("a","return " + fn);
 
-               var result = [], r = [];
+               var result = [];
 
                // Go through the array, translating each of the items to their
                // new value (or values).