Core: Fix comments for .get() method

Closes gh-1547
(cherry picked from commit ca0086b55a)
This commit is contained in:
Benjy Cui
2014-03-18 17:15:58 +08:00
committed by Dave Methvin
parent c51f9f7650
commit 17d8df8eec
2 changed files with 4 additions and 2 deletions

View File

@@ -54,10 +54,10 @@ jQuery.fn = jQuery.prototype = {
get: function( num ) {
return num != null ?
// Return a 'clean' array
// Return just the one element from the set
( num < 0 ? this[ num + this.length ] : this[ num ] ) :
// Return just the object
// Return all the elements in a clean array
slice.call( this );
},