]> source.dussan.org Git - jquery.git/commitdiff
Removes temp var, shaves 2 bytes from gzipped size
authorRick Waldron <waldron.rick@gmail.com>
Thu, 31 May 2012 22:15:57 +0000 (18:15 -0400)
committerRick Waldron <waldron.rick@gmail.com>
Thu, 31 May 2012 22:15:57 +0000 (18:15 -0400)
src/traversing.js

index 7a9c60f912ccafc91be94741af0bd3845e0f50e3..274a4343c59526714d5163a4d530bfff0c51318a 100644 (file)
@@ -144,8 +144,9 @@ jQuery.fn.extend({
        },
 
        addBack: function( selector ) {
-               var prior = this.prevObject;
-               return this.add( selector == null ? prior : prior.filter(selector) );
+               return this.add( selector == null ?
+      this.prevObject : this.prevObject.filter(selector)
+    );
        }
 });