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 9
9
*/
10
10
// regenerator runtime supports async functionality
11
11
import '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' ;
14
14
import { Snapshot , Status , MsgData } from './types/backendTypes' ;
15
15
16
16
// * State snapshot object initialized here
@@ -24,10 +24,11 @@ const mode: Status = {
24
24
} ;
25
25
26
26
// linkFiber is now assigned the default function exported from the file linkFiber.ts
27
+
27
28
console . log ( 'Index ts' , { snapShot : JSON . parse ( JSON . stringify ( snapShot ) ) } ) ;
28
- const linkFiber = linkFiberStart ( snapShot , mode ) ;
29
+ const linkFiber = linkFiberInitialization ( snapShot , mode ) ;
29
30
// timeJump is now assigned the default function exported from the file timeJump.ts
30
- const timeJump = timeJumpStart ( mode ) ;
31
+ const timeJump = timeJumpInitialization ( mode ) ;
31
32
32
33
// * Event listener for time-travel actions
33
34
window . addEventListener ( 'message' , ( { data : { action, payload } } : MsgData ) => {
You can’t perform that action at this time.
0 commit comments