diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-19 10:33:30 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-19 10:33:30 -0400 |
| commit | b7118f4f2389d62a9bae0eb1a78549f585e37658 (patch) | |
| tree | ace9736001d71650a809e7dda3ceb7944693d63e /scripts/theme-studio/samples.py | |
| parent | f8c00d70eea934875cdb5729e4bd671d9c687310 (diff) | |
| download | dotemacs-b7118f4f2389d62a9bae0eb1a78549f585e37658.tar.gz dotemacs-b7118f4f2389d62a9bae0eb1a78549f585e37658.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/samples.py')
0 files changed, 0 insertions, 0 deletions
