diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-17 18:39:03 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-17 18:39:03 -0500 |
| commit | 0b1c65c015ec84734149009bf6476443bcce7bd9 (patch) | |
| tree | caa09a0521bcbc6fc937a30a1eb2e53dadd529ba /docs/prototypes/reference | |
| parent | 6d8f4d8bfae27e8fc6caf1cbc65cf0fdf7a85db8 (diff) | |
| download | archsetup-0b1c65c015ec84734149009bf6476443bcce7bd9.tar.gz archsetup-0b1c65c015ec84734149009bf6476443bcce7bd9.zip | |
refactor(gallery): extract the shared tally-row markup
The validation and policy tallies were built from the same dot/label/count row template, written out per bucket in both. That template is now tallyRow() and tallyTotal(), so the markup has one source and the next index tally reuses it. The differing count and jump logic stays in each function, since those genuinely diverge: the validation tally drives the floating audit stepper, the policy tally a plain hash cycle.
Also hoisted GW.POLICIES[kind] to a local in card(), where it was read three times.
Behaviour-preserving: the output HTML is byte-identical.
Diffstat (limited to 'docs/prototypes/reference')
0 files changed, 0 insertions, 0 deletions
