aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/app_inventory.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-19 10:33:30 -0400
committerCraig Jennings <c@cjennings.net>2026-06-19 10:33:30 -0400
commit3bd81fdf6a27f626723a2c58642475e7fbd15200 (patch)
tree5c060e58ae00409e7104a5644969f50e55c5884b /scripts/theme-studio/app_inventory.py
parentb1ae5f2ea35f808e83b12d5ab39a1ea73ec6c424 (diff)
downloaddotemacs-3bd81fdf6a27f626723a2c58642475e7fbd15200.tar.gz
dotemacs-3bd81fdf6a27f626723a2c58642475e7fbd15200.zip
refactor(theme-studio): extract per-package previews into previews.js
The ~28 renderXxxPreview functions plus ofs/os/previewLines were ~460 lines of bespoke sample content sitting in the middle of the controller. I moved them to a new previews.js, spliced into the page through a PREVIEWS_J token the same way the other inlined libs are, and left the PACKAGE_PREVIEWS registry and dispatcher in app.js. app.js drops from 1233 to 759 lines, and the sample data now lives apart from the table/control machinery.
Diffstat (limited to 'scripts/theme-studio/app_inventory.py')
0 files changed, 0 insertions, 0 deletions