Skip to content

Commit

Permalink
Add a comment explaining that jQuery.map flattens arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpiano committed Nov 27, 2010
1 parent 7be1120 commit 34bf1a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core.js
Expand Up @@ -726,6 +726,7 @@ jQuery.extend({
}
}

// Flatten any nested arrays
return ret.concat.apply( [], ret );
},

Expand Down

0 comments on commit 34bf1a2

Please sign in to comment.