check if is undefined

This commit is contained in:
Teodor Szente committed 2015-04-09 20:12:22 +03:00
1 parent 8f6bae21fb
commit cdd359b710
1 file changed
+1 -1
+1 -1
View File
@@ -40,7 +40,7 @@ assign(
function isInternalComponentType(type) {
return (
typeof type === 'function' &&
typeof type.prototype === 'object' &&
typeof type.prototype !== 'undefined' &&
typeof type.prototype.mountComponent === 'function' &&
typeof type.prototype.receiveComponent === 'function'
);