mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11: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() {
|
||||
|
||||
|
||||
@ -418,7 +417,7 @@ _Api.prototype = /** @lends DataTables.Api */{
|
||||
|
||||
pluck: function ( prop )
|
||||
{
|
||||
return this.map( function ( el, i ) {
|
||||
return this.map( function ( el ) {
|
||||
return el[ prop ];
|
||||
} );
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user