Bump to v3.1.0.

This commit is contained in:
jdalton
2015-02-01 22:09:14 -08:00
parent 891d0482c6
commit d5f4043617
21 changed files with 74 additions and 37 deletions

View File

@@ -1,5 +1,5 @@
import baseProperty from '../internal/baseProperty';
import map from './map';
import property from '../utility/property';
/**
* Gets the value of `key` from all elements in `collection`.
@@ -25,7 +25,7 @@ import property from '../utility/property';
* // => [36, 40] (iteration order is not guaranteed)
*/
function pluck(collection, key) {
return map(collection, property(key));
return map(collection, baseProperty(key + ''));
}
export default pluck;