diff options
Diffstat (limited to 'src/jquery/jquery.js')
-rw-r--r-- | src/jquery/jquery.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index b7091e26f..ff33034ed 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 |