git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fa12b4
)
removing the context and selector properties that I left in jQuery.prototype.init
author
Brandon Aaron
<brandon.aaron@gmail.com>
Wed, 2 May 2007 02:41:57 +0000
(
02:41
+0000)
committer
Brandon Aaron
<brandon.aaron@gmail.com>
Wed, 2 May 2007 02:41:57 +0000
(
02:41
+0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
76ef152
..
ebe1f8c
100644
(file)
--- 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(