diff options
author | John Resig <jeresig@gmail.com> | 2011-01-18 18:07:37 -0500 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2011-01-18 18:07:37 -0500 |
commit | 40f48ef6bee71c8a4c285635bdd7b155c71ad87f (patch) | |
tree | da69ec272bbd4cf54ec391848351813e0fb0131a /src | |
parent | be6ef80f8a3c47d2f2e9aef68b44773a06bdb098 (diff) | |
parent | d9660e1bf4f378e0fcb77ba266f27cdec7cda022 (diff) | |
download | jquery-40f48ef6bee71c8a4c285635bdd7b155c71ad87f.tar.gz jquery-40f48ef6bee71c8a4c285635bdd7b155c71ad87f.zip |
Merge branch 'chrome-slice-comment' of https://github.com/ajpiano/jquery into ajpiano-chrome-slice-comment
Diffstat (limited to 'src')
-rw-r--r-- | src/traversing.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/traversing.js b/src/traversing.js index b36ce3db8..929547c11 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -204,7 +204,11 @@ jQuery.each({ }, function( name, fn ) { jQuery.fn[ name ] = function( until, selector ) { var ret = jQuery.map( this, fn, until ), - args = slice.call(arguments); + // The variable 'args' was introduced in + // https://github.com/jquery/jquery/commit/52a0238 + // to work around a bug in Chrome 10 (Dev) and should be removed when the bug is fixed. + // http://code.google.com/p/v8/issues/detail?id=1050 + args = slice.call(arguments); if ( !runtil.test( name ) ) { selector = until; |