connected two files into one

This commit is contained in:
Miodec 2022-02-07 18:34:34 +01:00
parent b618694021
commit 7e7fefbb0c
2 changed files with 22 additions and 23 deletions

View file

@ -1,23 +0,0 @@
//this file should be concatenated with the legacy js files
//try to keep this list short because we need to eliminate it eventually
global.getuid = Misc.getuid;
//these exports are just for debugging in the browser
global.snapshot = DB.getSnapshot;
global.config = Config;
// global.addnotif = Notifications.add;
global.glarsesMode = toggleGlarses;
global.stats = TestStats.getStats;
global.replay = Replay.getReplayExport;
global.enableTimerDebug = TestTimer.enableTimerDebug;
global.getTimerStats = TestTimer.getTimerStats;
global.toggleUnsmoothedRaw = Result.toggleUnsmoothedRaw;
global.enableSpacingDebug = TestStats.enableSpacingDebug;

View file

@ -25,3 +25,25 @@ import * as TestStats from "./test/test-stats";
import * as Replay from "./test/replay";
import * as TestTimer from "./test/test-timer";
import * as Result from "./test/test-timer";
//try to keep this list short because we need to eliminate it eventually
global.getuid = Misc.getuid;
//these exports are just for debugging in the browser
global.snapshot = DB.getSnapshot;
global.config = Config;
// global.addnotif = Notifications.add;
global.glarsesMode = toggleGlarses;
global.stats = TestStats.getStats;
global.replay = Replay.getReplayExport;
global.enableTimerDebug = TestTimer.enableTimerDebug;
global.getTimerStats = TestTimer.getTimerStats;
global.toggleUnsmoothedRaw = Result.toggleUnsmoothedRaw;
global.enableSpacingDebug = TestStats.enableSpacingDebug;