From 61a93b531fce9a7bd4c08f90f55cbe30314942da Mon Sep 17 00:00:00 2001 From: yetone Date: Wed, 11 Nov 2026 12:26:42 +0800 Subject: [PATCH] gui: the core's scripts back under their budget, by a comment cut Main at 245f07b19 had the core's scripts at 1,533,806 bytes, 4 over TestCoreScriptBudget's 1,533,802. Each of eb56de0b5, 914fcf59b and 4df5256db fit at its own base; together they don't. The comment eb56de0b5 put over its modelSamePick call, which names the file the line imports, is cut. No raise. Run on mote: go test -run TestCoreScriptBudget ./internal/gui red at 245f07b19 (1,533,806 > 1,533,802), ok with this. --- internal/gui/assets/app.js | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/gui/assets/app.js b/internal/gui/assets/app.js index 2b8ae4077..c7cffa710 100644 --- a/internal/gui/assets/app.js +++ b/internal/gui/assets/app.js @@ -11639,7 +11639,6 @@ function renderModels(p) { same.onkeydown = (e) => { e.stopPropagation(); if (e.key === "Enter") same.blur(); else if (e.key === "Escape") { same.value = sameNow(); same.blur(); } }; sameBox.append(el("span", "", t("Same as")), same); row.append(sameBox); - // its models.dev picker, in modellimits.js window.modelSamePick ? modelSamePick(sameBox, same) : import("./modellimits.js").then(() => modelSamePick(sameBox, same), () => {}); // the id it is listed by here, asked for by its own (zeewell on X) const savedID = m.vendor ? m.id : "";