Add a search bar: case-insensitive, steps through matches with Tab/Shift+Tab (Refs #27)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 14:27:48 -05:00
parent 14a46abc63
commit 2275889a86
8 changed files with 251 additions and 20 deletions

View File

@@ -17,7 +17,7 @@ const root = dirname(fileURLToPath(import.meta.url));
const read = (p) => readFileSync(join(root, 'src', p), 'utf8');
// Modules are concatenated (ES `import` lines and `export` keywords dropped) ahead of app.js into one scope.
const MODULES = ['crypto.js', 'images.js', 'model.js', 'ops.js', 'print.js', 'template.js', 'version.js'];
const MODULES = ['crypto.js', 'images.js', 'model.js', 'ops.js', 'print.js', 'search.js', 'template.js', 'version.js'];
export function bundleJs() {
return MODULES.map((f) => read(f).replace(/^import .*$/gm, '').replace(/^export /gm, '')).concat(read('app.js')).join('\n');
}