@@ -17,21 +17,20 @@ var pageStyle = {
17
17
height :'100%' ,
18
18
width :'100%'
19
19
} ;
20
- var default_1 = ( function ( _super ) {
21
- __extends ( default_1 , _super ) ;
22
- function default_1 ( ) {
20
+ var Page = ( function ( _super ) {
21
+ __extends ( Page , _super ) ;
22
+ function Page ( ) {
23
23
_super . apply ( this , arguments ) ;
24
24
}
25
- default_1 . prototype . componentDidUpdate = function ( ) {
25
+ Page . prototype . componentDidUpdate = function ( ) {
26
26
ReactDOM . findDOMNode ( this . refs . listEnd ) . scrollIntoView ( ) ;
27
27
} ;
28
- default_1 . prototype . render = function ( ) {
28
+ Page . prototype . render = function ( ) {
29
29
var _a = this . props , page = _a . page , taskPosition = _a . taskPosition , hintPosition = _a . hintPosition , tasks = _a . tasks , runTests = _a . runTests ;
30
30
var currentTask = taskPosition <= tasks . length ?tasks [ taskPosition ] :null ;
31
31
var allComplete = taskPosition >= tasks . length ;
32
32
return ( React . createElement ( Paper_1 . default , { style :pageStyle , zDepth :1 , className :'cr-page' , ref :'page' } , React . createElement ( content_1 . PageContent , { page :page } ) , React . createElement ( Divider_1 . default , null ) , React . createElement ( tasks_1 . Tasks , { tasks :tasks , taskPosition :taskPosition , runTests :runTests } ) , React . createElement ( "div" , { className :'listEnd' , ref :'listEnd' } ) , React . createElement ( hints_1 . Hints , { task :currentTask , hintPosition :hintPosition } ) , React . createElement ( page_complete_1 . PageCompleteMessage , { page :page } ) , React . createElement ( toolbar_1 . PageToolbar , { tasks :tasks , taskPosition :taskPosition } ) ) ) ;
33
33
} ;
34
- return default_1 ;
34
+ return Page ;
35
35
} ( React . Component ) ) ;
36
- Object . defineProperty ( exports , "__esModule" , { value :true } ) ;
37
- exports . default = default_1 ;
36
+ exports . Page = Page ;