From 19318239d704ea71e494e088c52bda179b968e09 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Fri, 19 Jan 2024 00:59:00 +0000 Subject: [PATCH] add missing global symbols --- jsctrl/ts/aici.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jsctrl/ts/aici.ts b/jsctrl/ts/aici.ts index 41cc4d2b..fa20a127 100644 --- a/jsctrl/ts/aici.ts +++ b/jsctrl/ts/aici.ts @@ -760,7 +760,9 @@ export function checkVar(name: string, value: string): void { } const vStr = v.decode(); if (vStr !== value) { - throw new AssertionError(`Variable ${name}: ${JSON.stringify(vStr)} != ${JSON.stringify(value)}`); + throw new AssertionError( + `Variable ${name}: ${JSON.stringify(vStr)} != ${JSON.stringify(value)}` + ); } } @@ -803,4 +805,6 @@ globalThis.$ = $; globalThis.fixed = fixed; globalThis.assert = assert; globalThis.gen = gen; -globalThis.genTokens = genTokens; \ No newline at end of file +globalThis.genTokens = genTokens; +globalThis.start = start; +globalThis.waitVars = waitVars;