diff --git a/app.js b/app.js index 8aefd4c..46ab5be 100644 --- a/app.js +++ b/app.js @@ -197,4 +197,4 @@ if (sharedT) { and the exact names brain.js uses today, as globals. Everything else stays inside the modules. */ window.g = { state, openStation, cookNext, crackle, hooks, db, wavBlob, $, hash32, render: { setFetcher } }; Object.assign(window, { state, hooks, $, db, playJob, drawCover, hash32, prng, keyHue, KEYS, reactionWeight, drawTaste, openTaste, reactionEmoji }); -Object.defineProperty(window, "seq", { get: () => ids.seq, set: (v) => { ids.seq = v; } }); // brain.js does ++ids.seq +Object.defineProperty(window, "seq", { get: () => ids.seq, set: (v) => { ids.seq = v; } }); // brain.js increments the job counter as a global