@@ -1428,14 +1428,14 @@ addToLibrary({
14281428
14291429  emscripten_random : ( )  =>  Math . random ( ) , 
14301430
1431-   emscripten_get_now : `; 
14321431#if PTHREADS  &&  ! AUDIO_WORKLET 
1433-      // Pthreads need their clocks synchronized to the execution of the main 
1434-      // thread, so, when using them, make sure to adjust all timings to the 
1435-      // respective time origins. 
1436-     _emscripten_get_now =  () => performance.timeOrigin + {{{ getPerformanceNow() }}}();  
1432+   // Pthreads need their clocks synchronized to the execution of the main 
1433+   // thread, so, when using them, make sure to adjust all timings to the 
1434+   // respective time origins. 
1435+   emscripten_get_now :  ( )  =>  performance . timeOrigin  +  { { {  getPerformanceNow( )  } } } ( ) , 
14371436#else
14381437#if MIN_FIREFOX_VERSION  <=  14  ||  MIN_CHROME_VERSION  <=  23  ||  MIN_SAFARI_VERSION  <=  80400  ||  AUDIO_WORKLET  // https://caniuse.com/#feat=high-resolution-time 
1438+   emscripten_get_now : `; 
14391439    // AudioWorkletGlobalScope does not have performance.now() 
14401440    // (https://github.com/WebAudio/web-audio-api/issues/2527), so if building 
14411441    // with 
@@ -1449,14 +1449,14 @@ addToLibrary({
14491449    } else { 
14501450      _emscripten_get_now = Date.now; 
14511451    } 
1452+ ` , 
14521453#else
1453-      // Modern environment where performance.now() is supported: 
1454-      // N.B. a shorter form "_emscripten_get_now = performance.now;" is 
1455-      // unfortunately not allowed even in current browsers (e.g. FF Nightly 75). 
1456-     _emscripten_get_now =  () => {{{ getPerformanceNow() }}}();  
1454+   // Modern environment where performance.now() is supported: 
1455+   // N.B. a shorter form "_emscripten_get_now = performance.now;" is 
1456+   // unfortunately not allowed even in current browsers (e.g. FF Nightly 75). 
1457+   emscripten_get_now :  ( )  = >  { { {  getPerformanceNow( )  } } } ( ) , 
14571458#endif
14581459#endif
1459- ` , 
14601460
14611461  emscripten_get_now_res : ( )  =>  {  // return resolution of get_now, in nanoseconds 
14621462#if ENVIRONMENT_MAY_BE_NODE 
0 commit comments