diff options
author | adam j. sontag <ajpiano@ajpiano.com> | 2011-01-17 16:10:14 -0500 |
---|---|---|
committer | adam j. sontag <ajpiano@ajpiano.com> | 2011-01-17 16:10:14 -0500 |
commit | 28a1bad7b18b7ca4937666893e268d6e1378ee4f (patch) | |
tree | 1b0edc28e9cf6df272b97cf73631fc8d9b43ca09 | |
parent | f01ef93aab1d2e90efbcacc71b01180f7f33656b (diff) | |
download | jquery-28a1bad7b18b7ca4937666893e268d6e1378ee4f.tar.gz jquery-28a1bad7b18b7ca4937666893e268d6e1378ee4f.zip |
Add a comment to explain (and enforce the temporary-ness of) an extra line of code added to workaround a Chrome 10 bug
-rw-r--r-- | src/traversing.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/traversing.js b/src/traversing.js index b36ce3db8..ee1d78b0e 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 ) ) { |