Tagging the 1.5rc1 release.
[jquery.git] / src / traversing.js
index f41816c..90601df 100644 (file)
@@ -141,7 +141,7 @@ jQuery.fn.extend({
 
        add: function( selector, context ) {
                var set = typeof selector === "string" ?
-                               jQuery( selector, context || this.context ) :
+                               jQuery( selector, context ) :
                                jQuery.makeArray( selector ),
                        all = jQuery.merge( this.get(), set );
 
@@ -208,7 +208,7 @@ jQuery.each({
                 // https://github.com/jquery/jquery/commit/52a0238
                 // to work around a bug in Chrome 10 (Dev) and should be removed when the bug is fixed.
                 // http://code.google.com/p/v8/issues/detail?id=1050
-        args = slice.call(arguments);
+                    args = slice.call(arguments);
 
                if ( !runtil.test( name ) ) {
                        selector = until;