From 28a1bad7b18b7ca4937666893e268d6e1378ee4f Mon Sep 17 00:00:00 2001 From: "adam j. sontag" Date: Mon, 17 Jan 2011 16:10:14 -0500 Subject: [PATCH] Add a comment to explain (and enforce the temporary-ness of) an extra line of code added to workaround a Chrome 10 bug --- src/traversing.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/traversing.js b/src/traversing.js index b36ce3d..ee1d78b 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -204,6 +204,9 @@ jQuery.each({ }, function( name, fn ) { jQuery.fn[ name ] = function( until, selector ) { var ret = jQuery.map( this, fn, until ), + // The variable 'args' was introduced in + // https://github.com/jquery/jquery/commit/52a02383fa521c51d9996a46f03a7080dd825f11 + // to work around a bug in Chrome 10 (Dev) and should be removed when the bug is fixed. args = slice.call(arguments); if ( !runtil.test( name ) ) { -- 1.7.10.4