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:
commit
643930c33d
@ -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 ];
|
||||||
} );
|
} );
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user