File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -82,13 +82,13 @@ var ReactJsonSchema = function () {
82
82
} , {
83
83
key : 'resolveComponent' ,
84
84
value : function resolveComponent ( schema ) {
85
- var _componentMap = this . getComponentMap ( ) ;
85
+ var componentMap = this . getComponentMap ( ) ;
86
86
var Component = null ;
87
87
if ( schema . hasOwnProperty ( 'component' ) ) {
88
88
if ( schema . component === Object ( schema . component ) ) {
89
89
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 ] ;
92
92
} else if ( _react . DOM . hasOwnProperty ( schema . component ) ) {
93
93
Component = schema . component ;
94
94
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-json-schema" ,
3
- "version" : " 1.0.0 " ,
3
+ "version" : " 1.0.1 " ,
4
4
"description" : " Write component schema in JSON; parse to create react elements." ,
5
5
"keywords" : [
6
6
" react" ,
Original file line number Diff line number Diff line change
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 >
You can’t perform that action at this time.
0 commit comments