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:
fa45f25
)
Fix a strange Chrome issue
author
wycats
<wycats@gmail.com>
Fri, 14 Jan 2011 16:21:45 +0000
(11:21 -0500)
committer
wycats
<wycats@gmail.com>
Fri, 14 Jan 2011 16:21:45 +0000
(11:21 -0500)
src/traversing.js
patch
|
blob
|
history
diff --git
a/src/traversing.js
b/src/traversing.js
index
689e901
..
8187357
100644
(file)
--- a/
src/traversing.js
+++ b/
src/traversing.js
@@
-196,7
+196,8
@@
jQuery.each({
}
}, function( name, fn ) {
jQuery.fn[ name ] = function( until, selector ) {
- var ret = jQuery.map( this, fn, until );
+ var ret = jQuery.map( this, fn, until ),
+ args = slice.call(arguments);
if ( !runtil.test( name ) ) {
selector = until;
@@
-212,7
+213,7
@@
jQuery.each({
ret = ret.reverse();
}
- return this.pushStack( ret, name, slice.call(arguments).join(",") );
+ return this.pushStack( ret, name, args.join(",") );
};
});