Bump to v3.0.1.

This commit is contained in:
jdalton
2015-01-26 20:13:55 -08:00
parent 9b7c4d6761
commit 3b2df88eab
14 changed files with 63 additions and 42 deletions

View File

@@ -1,4 +1,4 @@
define(['./baseMatches', './baseProperty', './baseToString', './bindCallback', '../utility/identity', './isBindable'], function(baseMatches, baseProperty, baseToString, bindCallback, identity, isBindable) {
define(['./baseMatches', './baseProperty', './bindCallback', '../utility/identity', './isBindable'], function(baseMatches, baseProperty, bindCallback, identity, isBindable) {
/**
* The base implementation of `_.callback` which supports specifying the
@@ -23,7 +23,7 @@ define(['./baseMatches', './baseProperty', './baseToString', './bindCallback', '
// Handle "_.property" and "_.matches" style callback shorthands.
return type == 'object'
? baseMatches(func, !argCount)
: baseProperty(argCount ? baseToString(func) : func);
: baseProperty(func + '');
}
return baseCallback;