removing the context and selector properties that I left in jQuery.prototype.init
This commit is contained in:
parent
7fa12b412b
commit
ed1e3f7e05
1 changed files with 2 additions and 6 deletions
8
src/jquery/jquery.js
vendored
8
src/jquery/jquery.js
vendored
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue