Skip to content
Permalink
Browse files
Core: Fix comments for .get() method
Closes gh-1547
  • Loading branch information
benjycui authored and dmethvin committed Mar 20, 2014
1 parent 9ad6e7e commit ca0086b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
@@ -217,3 +217,5 @@ Christopher Jones <chris@cjqed.com>
Forbes Lindesay <forbes@lindesay.co.uk>
S. Andrew Sheppard <andrew@wq.io>
Roman Reiß <me@silverwind.io>
Benjy Cui <benjytrys@gmail.com>

@@ -57,10 +57,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 );
},

0 comments on commit ca0086b

Please sign in to comment.