Repo: https://github.com/curtcox/SFWA Ref: main Retrieved via GitHub connector fetch (github.com/.../raw/... URLs). Date: 2026-01-25
MissingGithubRepoSelection because no repos are selected for code search in this chat session.Each app’s JS binds to a fixed set of element IDs via getElementById (or wrappers), so an HTML-only validator can check:
All four files implement JS inside an IIFE and do not export a runtime object. As a result:
Recommendation if you want strong, deterministic JS-only compliance:
Add a small export such as window.SFWA_RUNTIME = { decode, encode, init } (or equivalent) without otherwise changing behavior.
The meal planner apps generate most data-action="..." buttons dynamically via innerHTML templates.
Therefore, HTML-only compliance should NOT require those action elements to be present at load time.
Instead, treat them as JS-side obligations (the runtime must generate them and handle delegated clicks).
element.onclick = ... instead of addEventListener; if you require addEventListener, it would fail.structuredClone; older browsers may require a polyfill (not an ABI issue, but a portability concern).TextEncoder/TextDecoder, atob/btoa, and requestAnimationFrame.