Browse files

removing the context and selector properties that I left in jQuery.pr…

…ototype.init
  • Loading branch information...
1 parent 7fa12b4 commit ed1e3f7e0501be92411bb7d9fd6c25ab1e81cc73 @brandonaaron brandonaaron committed May 2, 2007
Showing with 2 additions and 6 deletions.
  1. +2 −6 src/jquery/jquery.js
View
8 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(

0 comments on commit ed1e3f7

Please sign in to comment.