Bump to v4.5.1.

This commit is contained in:
John-David Dalton
2016-02-21 20:40:07 -08:00
parent ae51b52aa1
commit 65e5d998b3
29 changed files with 266 additions and 188 deletions

View File

@@ -1,4 +1,4 @@
define([], function() {
define(['./isFunction'], function(isFunction) {
/** Used for built-in method references. */
var objectProto = Object.prototype;
@@ -12,7 +12,7 @@ define([], function() {
*/
function isPrototype(value) {
var Ctor = value && value.constructor,
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
proto = (isFunction(Ctor) && Ctor.prototype) || objectProto;
return value === proto;
}