Skip to content

Commit 77f7644

Browse files
committed
1.0.1
1 parent 5296285 commit 77f7644

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

dist/react-json-schema.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ var ReactJsonSchema = function () {
8282
}, {
8383
key: 'resolveComponent',
8484
value: function resolveComponent(schema) {
85-
var _componentMap = this.getComponentMap();
85+
var componentMap = this.getComponentMap();
8686
var Component = null;
8787
if (schema.hasOwnProperty('component')) {
8888
if (schema.component === Object(schema.component)) {
8989
Component = schema.component;
90-
} else if (_componentMap && _componentMap[schema.component]) {
91-
Component = _componentMap[schema.component];
90+
} else if (componentMap && componentMap[schema.component]) {
91+
Component = componentMap[schema.component];
9292
} else if (_react.DOM.hasOwnProperty(schema.component)) {
9393
Component = schema.component;
9494
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-json-schema",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Write component schema in JSON; parse to create react elements.",
55
"keywords": [
66
"react",

react-json-schema.iml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="WEB_MODULE" version="4">
3+
<component name="NewModuleRootManager" inherit-compiler-output="true">
4+
<exclude-output />
5+
<content url="file://$MODULE_DIR$">
6+
<excludeFolder url="file://$MODULE_DIR$/dist" />
7+
</content>
8+
<orderEntry type="inheritedJdk" />
9+
<orderEntry type="sourceFolder" forTests="false" />
10+
</component>
11+
</module>

0 commit comments

Comments
 (0)