File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -2115,24 +2115,24 @@ Other Style Guides
21152115
21162116    ` ` ` javascript
21172117    // bad 
2118-     (function (global) {  
2119-       // ...stuff...  
2120-     })(this) ; 
2118+     import { es6 } from './AirbnbStyleGuide';  
2119+       // ... 
2120+     export default es6 ; 
21212121    ` ` `  
21222122
21232123    ` ` ` javascript
21242124    // bad 
2125-     (function (global) {  
2126-       // ...stuff...  
2127-     })(this) ;↵ 
2125+     import { es6 } from './AirbnbStyleGuide';  
2126+       // ... 
2127+     export default es6 ;↵ 
21282128    ↵ 
21292129    ` ` `  
21302130
21312131    ` ` ` javascript
21322132    // good 
2133-     (function (global) {  
2134-       // ...stuff...  
2135-     })(this) ;↵ 
2133+     import { es6 } from './AirbnbStyleGuide';  
2134+       // ... 
2135+     export default es6 ;↵ 
21362136    ` ` `  
21372137
21382138  < a name= " whitespace--chains" >< / a>< a name= " 18.6" >< / a> 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments