mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-05 21:15:26 +08:00
connected two files into one
This commit is contained in:
parent
b618694021
commit
7e7fefbb0c
2 changed files with 22 additions and 23 deletions
|
@ -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;
|
|
@ -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;
|
Loading…
Add table
Reference in a new issue