From: Brandon Aaron Date: Wed, 2 May 2007 02:41:57 +0000 (+0000) Subject: removing the context and selector properties that I left in jQuery.prototype.init X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=ed1e3f7e0501be92411bb7d9fd6c25ab1e81cc73 removing the context and selector properties that I left in jQuery.prototype.init --- diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 76ef152..ebe1f8c 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -166,12 +166,8 @@ jQuery.fn = jQuery.prototype = { a = jQuery.clean( [ m[1] ] ); // HANDLE: $(expr) - else { - var r = new jQuery( c ).find( a ); - r.selector = a; - r.context = c; - return r; - } + else + return new jQuery( c ).find( a ); } return this.setArray(