diff options
author | Brandon Aaron <brandon.aaron@gmail.com> | 2007-05-02 02:41:57 +0000 |
---|---|---|
committer | Brandon Aaron <brandon.aaron@gmail.com> | 2007-05-02 02:41:57 +0000 |
commit | ed1e3f7e0501be92411bb7d9fd6c25ab1e81cc73 (patch) | |
tree | 692892290033dd930762efcd9c573ffb9e43123f /src | |
parent | 7fa12b412b7e965ca7a37c9281dd6321c2fe284c (diff) | |
download | jquery-ed1e3f7e0501be92411bb7d9fd6c25ab1e81cc73.tar.gz jquery-ed1e3f7e0501be92411bb7d9fd6c25ab1e81cc73.zip |
removing the context and selector properties that I left in jQuery.prototype.init
Diffstat (limited to 'src')
-rw-r--r-- | src/jquery/jquery.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 76ef152a2..ebe1f8c5f 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( |