File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,19 +25,19 @@ const traverseHistory = (name)=>{
2525 name = appHistory [ appHistory . length - 1 ] ;
2626 }
2727 return name ;
28- }
28+ } ;
2929
3030const addHistoryTraversal = ( loadFn => ( name ) => {
3131 name = traverseHistory ( name ) ;
3232 loadFn ( name ) ;
33- } )
33+ } ) ;
3434
3535const addHistoryTraversalFastload = ( loadFn => ( name ) => {
3636 global . load = global . _load ; // Only run through traverseHistory once, not both for Bangle.load and global.load.
3737 name = traverseHistory ( name ) ;
3838 loadFn ( name ) ;
3939 global . load = globalLoadWithHistory ;
40- } )
40+ } ) ;
4141
4242const globalLoadWithHistory = addHistoryTraversal ( global . load ) ;
4343global . load = globalLoadWithHistory ;
@@ -46,5 +46,5 @@ Bangle.load = addHistoryTraversalFastload(Bangle._load);
4646E . on ( 'kill' , ( ) => {
4747 // Usually record history, but reset it if long press of HW button was used. May be tricky to release button quick enough to not trigger resetHistory.
4848 if ( ! BTN . read ( ) ) recordHistory ( ) ; else resetHistory ( ) ;
49- } )
49+ } ) ;
5050}
You can’t perform that action at this time.
0 commit comments