X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Ftraversing.js;h=929547c11d5f28e56766a28952a3ad89af02fb83;hb=265cf0efa7ab3296b3fc4917b863d7b09e3d8bb4;hp=b36ce3db8eaf9222f1b950b1e950254c7f3e5f59;hpb=a7ab491a5d3c7347ee5685bd6df11092f0d638ca;p=jquery.git diff --git a/src/traversing.js b/src/traversing.js index b36ce3d..929547c 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;