@@ -17,21 +17,20 @@ var pageStyle = {
1717height :'100%' ,
1818width :'100%'
1919} ;
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 ( ) {
2323_super . apply ( this , arguments ) ;
2424}
25- default_1 . prototype . componentDidUpdate = function ( ) {
25+ Page . prototype . componentDidUpdate = function ( ) {
2626ReactDOM . findDOMNode ( this . refs . listEnd ) . scrollIntoView ( ) ;
2727} ;
28- default_1 . prototype . render = function ( ) {
28+ Page . prototype . render = function ( ) {
2929var _a = this . props , page = _a . page , taskPosition = _a . taskPosition , hintPosition = _a . hintPosition , tasks = _a . tasks , runTests = _a . runTests ;
3030var currentTask = taskPosition <= tasks . length ?tasks [ taskPosition ] :null ;
3131var allComplete = taskPosition >= tasks . length ;
3232return ( 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 } ) ) ) ;
3333} ;
34- return default_1 ;
34+ return Page ;
3535} ( React . Component ) ) ;
36- Object . defineProperty ( exports , "__esModule" , { value :true } ) ;
37- exports . default = default_1 ;
36+ exports . Page = Page ;