1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-30 23:52:11 +01:00

Merge pull request #196 from timtucker/patch-38

Remove index from map call in pluck
This commit is contained in:
Allan Jardine 2013-05-18 11:00:12 -07:00
commit 643930c33d

View File

@ -1,5 +1,4 @@
(/** @lends <global> */function() { (/** @lends <global> */function() {
@ -418,7 +417,7 @@ _Api.prototype = /** @lends DataTables.Api */{
pluck: function ( prop ) pluck: function ( prop )
{ {
return this.map( function ( el, i ) { return this.map( function ( el ) {
return el[ prop ]; return el[ prop ];
} ); } );
}, },