v3 new release (#80)
This commit is contained in:
committed by
GitHub
parent
a767c8d3a1
commit
20d2b4f98d
10
node_modules/underscore/amd/pluck.js
generated
vendored
Normal file
10
node_modules/underscore/amd/pluck.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
define(['./map', './property'], function (map, property) {
|
||||
|
||||
// Convenience version of a common use case of `_.map`: fetching a property.
|
||||
function pluck(obj, key) {
|
||||
return map(obj, property(key));
|
||||
}
|
||||
|
||||
return pluck;
|
||||
|
||||
});
|
Reference in New Issue
Block a user