Rebuild dist/docs.

This commit is contained in:
John-David Dalton
2014-02-05 22:21:47 -08:00
parent 5a4826e660
commit b9d314e64c
7 changed files with 35 additions and 31 deletions

View File

@@ -4674,8 +4674,9 @@
*/
function createCallback(func, thisArg, argCount) {
var type = typeof func;
if (func == null || type == 'function') {
return baseCreateCallback(func, thisArg, argCount);
if (type == 'function' || func == null) {
return (typeof thisArg == 'undefined' || !('prototype' in func)) &&
func || baseCreateCallback(func, thisArg, argCount);
}
// handle "_.pluck" and "_.where" style callback shorthands
return type != 'object' ? property(func) : match(func);