Bump to v3.0.1.

This commit is contained in:
jdalton
2015-01-26 20:44:45 -08:00
parent f9606b394c
commit bbec03c4d5
14 changed files with 64 additions and 47 deletions

View File

@@ -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;