1
0
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:
Tim Tucker 2013-05-18 09:19:34 -03:00
parent d7b12bd83b
commit a74348f56a

View File

@ -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 ];
} );
},