X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=797280e073759b663dbc38da8c92405199063f5e;hb=4d4f13a96b65b31eea9dd6c706324274d97cbb36;hp=76b08edf054094f5dd5620439b955b8b4ceb9f5d;hpb=05fb8eaa1058578f911ab5d0d4436e97010f4cc7;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 76b08ed..797280e 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -301,7 +301,7 @@ jQuery.fn = jQuery.prototype = { */ setArray: function( a ) { this.length = 0; - [].push.apply( this, a ); + Array.prototype.push.apply( this, a ); return this; },