Bump to v3.0.1.

This commit is contained in:
jdalton
2015-01-29 20:56:54 -08:00
parent 5379c1996b
commit 891d0482c6
14 changed files with 34 additions and 27 deletions

View File

@@ -1,6 +1,5 @@
import baseMatches from './baseMatches';
import baseProperty from './baseProperty';
import baseToString from './baseToString';
import bindCallback from './bindCallback';
import identity from '../utility/identity';
import isBindable from './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 + '');
}
export default baseCallback;