Merge branch 'master' of https://github.com/mathiasbynens/jquery into mathiasbynens...
authorJohn Resig <jeresig@gmail.com>
Tue, 18 Jan 2011 23:11:54 +0000 (18:11 -0500)
committerJohn Resig <jeresig@gmail.com>
Tue, 18 Jan 2011 23:11:54 +0000 (18:11 -0500)
build/uglify.js [changed mode: 0755->0644]
src/traversing.js

old mode 100755 (executable)
new mode 100644 (file)
index b36ce3d..929547c 100644 (file)
@@ -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;