File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 99 */
1010// regenerator runtime supports async functionality
1111import 'regenerator-runtime/runtime' ;
12- import linkFiberStart from './routers/linkFiber' ;
13- import timeJumpStart from './controllers/timeJump' ;
12+ import linkFiberInitialization from './routers/linkFiber' ;
13+ import timeJumpInitialization from './controllers/timeJump' ;
1414import { Snapshot , Status , MsgData } from './types/backendTypes' ;
1515
1616// * State snapshot object initialized here
@@ -24,10 +24,11 @@ const mode: Status = {
2424} ;
2525
2626// linkFiber is now assigned the default function exported from the file linkFiber.ts
27+
2728console . log ( 'Index ts' , { snapShot : JSON . parse ( JSON . stringify ( snapShot ) ) } ) ;
28- const linkFiber = linkFiberStart ( snapShot , mode ) ;
29+ const linkFiber = linkFiberInitialization ( snapShot , mode ) ;
2930// timeJump is now assigned the default function exported from the file timeJump.ts
30- const timeJump = timeJumpStart ( mode ) ;
31+ const timeJump = timeJumpInitialization ( mode ) ;
3132
3233// * Event listener for time-travel actions
3334window . addEventListener ( 'message' , ( { data : { action, payload } } : MsgData ) => {
You can’t perform that action at this time.
0 commit comments