From 552510467944a20655bbddb9d618047a454720de Mon Sep 17 00:00:00 2001 From: teahubxyz Date: Wed, 21 Oct 2026 22:28:20 +0000 Subject: [PATCH] split.js: setFetcher (added by split-post) belongs to render.js, so the globals block imports it Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01Dhu3iHseRewQ2WpBSVLokG --- tools/split.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/split.js b/tools/split.js index 9ff2e90..1f58a73 100644 --- a/tools/split.js +++ b/tools/split.js @@ -30,6 +30,7 @@ for (const m of Object.values(mods)) { } }); } +if (mods["render.js"]) mods["render.js"].decl.set("setFetcher", -1); // added by tools/split-post.py after the cut const owner = {}; for (const m of Object.values(mods)) for (const n of m.decl.keys()) { if (owner[n]) console.error("DUP", n, owner[n], m.file); owner[n] = m.file; } const strip = (s) => s.replace(/\/\*[\s\S]*?\*\/|\/\/[^\n]*|`(?:\\.|[^`\\])*`|"(?:\\.|[^"\\\n])*"|'(?:\\.|[^'\\\n])*'/g, (t) => t[0] === "`" ? (t.match(/\$\{[^}]*\}/g) || []).map((x) => x.slice(2, -1)).join(" ") : " "); const GLOBALS = fs.readFileSync("tools/split-globals.txt", "utf8");