rspace-online/website
Jeff Emmett 47b1642156 fix: TDZ error from panX/panY/scale declared after await, add HTML no-cache
Root cause: scale/panX/panY were declared with let at line 5014, but
event handlers referencing them were registered before line 2771. Since
the module has top-level awaits (offlineStore.open, sync.initFromCache),
execution yields and events can fire before the let declarations,
causing "Cannot access variable before initialization" TDZ errors.

Fix: hoist scale/panX/panY declarations to before any await statements.
Also add Cache-Control: no-cache for HTML files and immutable for
Vite content-hashed assets to prevent stale bundle caching.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:56:30 -07:00
..
public feat: history panel with author attribution + settings gear relocation 2026-03-09 19:24:27 -07:00
admin.html fix: normalize visibility enums + tab tracking across remaining files 2026-03-03 13:29:01 -08:00
canvas.html fix: TDZ error from panX/panY/scale declared after await, add HTML no-cache 2026-03-09 20:56:30 -07:00
create-space.html fix: create-space page now uses theme system for light/dark mode 2026-03-05 21:12:31 -08:00
index.html refactor: complete rfunds → rflows rename across configs and references 2026-03-03 19:13:14 -08:00
shell.ts feat: user dashboard shown when all tabs are closed 2026-03-09 20:55:39 -07:00
sw.ts feat: content-hash cache busting for module/shell assets 2026-03-05 11:50:57 -08:00
test-stack.html test: add stack view + wiring test page 2026-03-02 13:03:29 -08:00