mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11:52:11 +01:00
Remove index from map call in pluck
Pluck isn't using the index, so it's safe to remove the ", i" from the function call passed to map. Not much, but at least a few fewer bytes.
This commit is contained in:
parent
d7b12bd83b
commit
a74348f56a
@ -1,5 +1,4 @@
|
||||
|
||||
|
||||
(/** @lends <global> */function() {
|
||||
|
||||
|
||||
@ -411,7 +410,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