Bump to v4.4.0.

This commit is contained in:
John-David Dalton
2016-02-15 20:20:54 -08:00
parent 3514f50902
commit ce259221bd
106 changed files with 781 additions and 440 deletions

View File

@@ -1,4 +1,4 @@
define(['./_apply', './isObject', './rest'], function(apply, isObject, rest) {
define(['./_apply', './isError', './rest'], function(apply, isError, rest) {
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
var undefined;
@@ -27,7 +27,7 @@ define(['./_apply', './isObject', './rest'], function(apply, isObject, rest) {
try {
return apply(func, undefined, args);
} catch (e) {
return isObject(e) ? e : new Error(e);
return isError(e) ? e : new Error(e);
}
});