diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-24 19:17:23 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-24 19:17:23 -0400 |
| commit | 9e445ab334368dc800728e89fc74ee7c69cbab09 (patch) | |
| tree | a2bd28fb87dc490c229860a5d32d36769108b4a9 /scripts/theme-studio/distinguished.json | |
| parent | 721ed551c7d22f0ab5855e8c2e7c2d9264147e92 (diff) | |
| download | dotemacs-9e445ab334368dc800728e89fc74ee7c69cbab09.tar.gz dotemacs-9e445ab334368dc800728e89fc74ee7c69cbab09.zip | |
refactor(theme-studio): extract control factories to controls.js, drop dead previewFaceAttrs
I split the custom dropdown, detail-editor, and expander factories out of app.js into controls.js (205 lines), spliced back at a CONTROLS_J token by generate.py. The token sits at the exact extraction point, so the assembled page is byte-identical and every gate passes unchanged. app.js drops from 927 to 721 lines.
I also removed previewFaceAttrs (function, export, and test). It was test-only dead code whose docstring stalely claimed the gate calls it. The gate uses assertPreviewFaces instead.
Diffstat (limited to 'scripts/theme-studio/distinguished.json')
0 files changed, 0 insertions, 0 deletions
