File tree Expand file tree Collapse file tree 3 files changed +29
-3
lines changed Expand file tree Collapse file tree 3 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 1+ 'use strict' ; 
2+ 
3+ /** 
4+  * Module dependencies. 
5+  */ 
6+ var  HTMLDOMPropertyConfig ; 
7+ var  SVGDOMPropertyConfig ; 
8+ 
9+ // HTML and SVG DOM Property Config 
10+ // moved to `react-dom` in v15.4.x 
11+ try  { 
12+     HTMLDOMPropertyConfig  =  require ( 'react-dom/lib/HTMLDOMPropertyConfig' ) ; 
13+     SVGDOMPropertyConfig  =  require ( 'react-dom/lib/SVGDOMPropertyConfig' ) ; 
14+ }  catch  ( error )  { 
15+     HTMLDOMPropertyConfig  =  require ( 'react/lib/HTMLDOMPropertyConfig' ) ; 
16+     SVGDOMPropertyConfig  =  require ( 'react/lib/SVGDOMPropertyConfig' ) ; 
17+ } 
18+ 
19+ /** 
20+  * Export config. 
21+  */ 
22+ module . exports  =  { 
23+     HTMLDOMPropertyConfig : HTMLDOMPropertyConfig , 
24+     SVGDOMPropertyConfig : SVGDOMPropertyConfig 
25+ } ; 
Original file line number Diff line number Diff line change 33/** 
44 * Module dependencies. 
55 */ 
6- var  HTMLDOMPropertyConfig  =  require ( 'react/lib/HTMLDOMPropertyConfig'  ) ; 
6+ var  HTMLDOMPropertyConfig  =  require ( './DOMPropertyConfig'  ) . HTMLDOMPropertyConfig ; 
77var  utilities  =  require ( './utilities' ) ; 
88var  propertyConfig  =  require ( './property-config' ) ; 
99
Original file line number Diff line number Diff line change 44 * Module dependencies. 
55 */ 
66var  utilities  =  require ( './utilities' ) ; 
7- var  HTMLDOMPropertyConfig  =  require ( 'react/lib/HTMLDOMPropertyConfig' ) ; 
8- var  SVGDOMPropertyConfig  =  require ( 'react/lib/SVGDOMPropertyConfig' ) ; 
7+ var  DOMPropertyConfig  =  require ( './DOMPropertyConfig' ) ; 
8+ var  HTMLDOMPropertyConfig  =  DOMPropertyConfig . HTMLDOMPropertyConfig ; 
9+ var  SVGDOMPropertyConfig  =  DOMPropertyConfig . SVGDOMPropertyConfig ; 
910
1011var  config  =  { 
1112    html : { } , 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments