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 () {
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 }
Original file line number Diff line number Diff line change 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" ,
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