Skip to content
Permalink
Browse files

Core: Fix comments for .get() method

Closes gh-1547
  • Loading branch information
benjycui authored and dmethvin committed Mar 18, 2014
1 parent 9ad6e7e commit ca0086b55a158d8a4347f94254878d6dc5dd90ed
Showing with 4 additions and 2 deletions.
  1. +2 −0 AUTHORS.txt
  2. +2 −2 src/core.js
@@ -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.
You can’t perform that action at this time.