Skip to content
Permalink
Browse files

Add a comment to explain (and enforce the temporary-ness of) an extra…

… line of code added to workaround a Chrome 10 bug
  • Loading branch information
ajpiano committed Jan 17, 2011
1 parent f01ef93 commit 28a1bad7b18b7ca4937666893e268d6e1378ee4f
Showing with 3 additions and 0 deletions.
  1. +3 −0 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 ) ) {

0 comments on commit 28a1bad

Please sign in to comment.
You can’t perform that action at this time.