]> source.dussan.org Git - jquery.git/commitdiff
Add a comment to explain (and enforce the temporary-ness of) an extra line of code...
authoradam j. sontag <ajpiano@ajpiano.com>
Mon, 17 Jan 2011 21:10:14 +0000 (16:10 -0500)
committeradam j. sontag <ajpiano@ajpiano.com>
Mon, 17 Jan 2011 21:10:14 +0000 (16:10 -0500)
src/traversing.js

index b36ce3db8eaf9222f1b950b1e950254c7f3e5f59..ee1d78b0eebae4052f3c8a2a72b1986e733f8488 100644 (file)
@@ -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 ) ) {