Comparing version 1.0.6 to 1.0.7
@@ -5,2 +5,7 @@ # Change Log | ||
<a name="1.0.7"></a> | ||
## [1.0.7](https://github.com/zerkalica/lom_atom/compare/v1.0.6...v1.0.7) (2018-03-15) | ||
<a name="1.0.6"></a> | ||
@@ -7,0 +12,0 @@ ## [1.0.6](https://github.com/zerkalica/lom_atom/compare/v1.0.5...v1.0.6) (2018-03-15) |
@@ -163,3 +163,3 @@ function _inheritsLoose(subClass, superClass) { | ||
if (typeof cls.prototype.render !== 'function' && typeof Parent === 'function') { | ||
if ((!cls.prototype || typeof cls.prototype.render !== 'function') && typeof Parent === 'function') { | ||
if (!BaseComponent) throw new Error('Setup createConnect with BaseComponent'); | ||
@@ -166,0 +166,0 @@ |
@@ -167,3 +167,3 @@ 'use strict'; | ||
if (typeof cls.prototype.render !== 'function' && typeof Parent === 'function') { | ||
if ((!cls.prototype || typeof cls.prototype.render !== 'function') && typeof Parent === 'function') { | ||
if (!BaseComponent) throw new Error('Setup createConnect with BaseComponent'); | ||
@@ -170,0 +170,0 @@ |
@@ -169,3 +169,3 @@ (function (global, factory) { | ||
if (typeof cls.prototype.render !== 'function' && typeof Parent === 'function') { | ||
if ((!cls.prototype || typeof cls.prototype.render !== 'function') && typeof Parent === 'function') { | ||
if (!BaseComponent) throw new Error('Setup createConnect with BaseComponent'); | ||
@@ -172,0 +172,0 @@ |
{ | ||
"name": "urc", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Universal react connect decorator builder", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -42,3 +42,3 @@ // @flow | ||
let cls: ComponentClass = Parent | ||
if (typeof cls.prototype.render !== 'function' && typeof Parent === 'function') { | ||
if ((!cls.prototype || typeof cls.prototype.render !== 'function') && typeof Parent === 'function') { | ||
if (!BaseComponent) throw new Error('Setup createConnect with BaseComponent') | ||
@@ -45,0 +45,0 @@ cls = ((function ConnectedComponent(props, context) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
149394