@@ -15,26 +15,26 @@ var __metadata = (this && this.__metadata) || function (k, v) {
15
15
} ;
16
16
var React = require ( 'react' ) ;
17
17
var react_redux_1 = require ( 'react-redux' ) ;
18
- var index_1 = require ( './index' ) ;
19
- var Routes_1 = require ( './Routes' ) ;
18
+ var index_1 = require ( '.. /index' ) ;
19
+ var Routes_1 = require ( '.. /Routes' ) ;
20
20
var Drawer_1 = require ( 'material-ui/Drawer' ) ;
21
- var App = ( function ( _super ) {
22
- __extends ( App , _super ) ;
23
- function App ( ) {
21
+ var SidePanel = ( function ( _super ) {
22
+ __extends ( SidePanel , _super ) ;
23
+ function SidePanel ( ) {
24
24
_super . apply ( this , arguments ) ;
25
25
}
26
- App . prototype . render = function ( ) {
26
+ SidePanel . prototype . render = function ( ) {
27
27
var windowToggle = this . props . windowToggle ;
28
28
return ( React . createElement ( "section" , null , React . createElement ( Drawer_1 . default , { width :400 , openSecondary :true , open :windowToggle } , React . createElement ( "div" , { className :'cr-bg' } , React . createElement ( index_1 . AppMenu , null ) , React . createElement ( Routes_1 . default , null ) ) ) , React . createElement ( index_1 . Alert , null ) ) ) ;
29
29
} ;
30
- App = __decorate ( [
30
+ SidePanel = __decorate ( [
31
31
react_redux_1 . connect ( function ( state ) { return ( {
32
32
windowToggle :state . windowToggle ,
33
33
} ) ; } ) ,
34
34
__metadata ( 'design:paramtypes' , [ ] )
35
- ] , App ) ;
36
- return App ;
35
+ ] , SidePanel ) ;
36
+ return SidePanel ;
37
37
} ( React . Component ) ) ;
38
38
Object . defineProperty ( exports , "__esModule" , { value :true } ) ;
39
- exports . default = App ;
39
+ exports . default = SidePanel ;
40
40
;