Permalink
Browse files

Merge branch 'chrome-slice-comment' of https://github.com/ajpiano/jquery

 into ajpiano-chrome-slice-comment
  • Loading branch information...
2 parents be6ef80 + d9660e1 commit 40f48ef6bee71c8a4c285635bdd7b155c71ad87f @jeresig jeresig committed Jan 18, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/traversing.js
View
@@ -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;

1 comment on commit 40f48ef

@paulirish
Member

Just FYI:
As noted in the ticket, this was fixed 6 days ago. Is confirmed as fixed in latest V8, but that V8 version isn't available in chromium yet. If not next chrome dev channel release, than the one afterwards.

Please sign in to comment.