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 5c9dcf3..1be9c91 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).