Bump to v4.6.0.

This commit is contained in:
John-David Dalton
2016-02-29 23:38:21 -08:00
parent 65e5d998b3
commit 8166b65853
62 changed files with 726 additions and 416 deletions

View File

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