Comparing version 2.0.1 to 2.0.2
@@ -512,3 +512,10 @@ "use strict"; | ||
if (this.props.onChange) { | ||
this.props.onChange(this.generate()); | ||
var res = this.props.onChange(this.generate()); | ||
if (res !== undefined) { | ||
this.setState({ | ||
json: res, | ||
variables: this.regenerate(res) | ||
}); | ||
} | ||
} | ||
@@ -515,0 +522,0 @@ } |
{ | ||
"name": "aio-json", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "generate json interactive", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
37049
1096