feat(training): fold-out practice stints with every lap time on Training and the driver's page (1.86.0)
This commit is contained in:
1 parent
3870510d8c
commit
73e1c0ccf3
16 files changed
+224
-5
No files matched your search
@@ -3,7 +3,8 @@ import assert from "node:assert/strict";
|
||||
import fs from "node:fs";
|
||||
import vm from "node:vm";
|
||||
|
||||
const source = fs.readFileSync(new URL("../src/public_training.js", import.meta.url), "utf8");
|
||||
// The page is an ES module; drop its imports to run it as a plain script (rendering is stubbed below).
|
||||
const source = fs.readFileSync(new URL("../src/public_training.js", import.meta.url), "utf8").replace(/^import .*$/gm, "");
|
||||
|
||||
function profileHarness() {
|
||||
const ui = { editing: false, saving: false, requests: 0, renders: 0, html: "existing profile" };
|
||||
|
||||
Reference in new issue
Block a user