X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjquery%2Fjquery.js;h=ff33034ede6ff512a4f6aac2e796bb891ef06b34;hb=887c00780df75ab42228285e4571b9052e6fd51a;hp=b7091e26fa97c1b2924966cf3cc73748175ed50f;hpb=2ef4093cf7f52383dd43bd361864edcda27e5c3c;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index b7091e2..ff33034 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1160,6 +1160,10 @@ jQuery.fn = jQuery.prototype = { ( this.length ? this[0].innerHTML : null ) : this.empty().append( val ); }, + + slice: function() { + return this.pushStack( Array.prototype.slice.apply( this, arguments ) ); + }, /** * @private