git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testing a commit to the new repository.
[jquery.git]
/
src
/
jquery
/
jquery.js
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
76ef152
..
118b414
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)
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(
}
return this.setArray(
@@
-1803,7
+1799,7
@@
new function() {
// Figure out what browser is being used
jQuery.browser = {
// Figure out what browser is being used
jQuery.browser = {
- version: b.match(/.+[xiae][\/ ]([\d.]+)/)[1],
+ version: b.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1],
safari: /webkit/.test(b),
opera: /opera/.test(b),
msie: /msie/.test(b) && !/opera/.test(b),
safari: /webkit/.test(b),
opera: /opera/.test(b),
msie: /msie/.test(b) && !/opera/.test(b),