mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Bump to v3.0.1.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
var baseMatches = require('./baseMatches'),
|
||||
baseProperty = require('./baseProperty'),
|
||||
baseToString = require('./baseToString'),
|
||||
bindCallback = require('./bindCallback'),
|
||||
identity = require('../utility/identity'),
|
||||
isBindable = require('./isBindable');
|
||||
@@ -28,7 +27,7 @@ function baseCallback(func, thisArg, argCount) {
|
||||
// Handle "_.property" and "_.matches" style callback shorthands.
|
||||
return type == 'object'
|
||||
? baseMatches(func, !argCount)
|
||||
: baseProperty(argCount ? baseToString(func) : func);
|
||||
: baseProperty(func + '');
|
||||
}
|
||||
|
||||
module.exports = baseCallback;
|
||||
|
||||
Reference in New Issue
Block a user