658 B
658 B
V61 HOTFIX render() 3-args signature
Bug
"Cannot read properties of undefined (reading total)" on oss-discovery.html page load. Caused by V57 misaligned render() call.
Fix
render function signature is: render(d, tools, sk) Call updated to: render(c.report, c.tools||{}, c.skills||{})
Test after
curl /api/oss-cache.json | jq .skills.total -> should match page display
For next Claude
- DO NOT modify render call unless you also update function signature
- render(d,tools,sk) requires 3 args - d for report (d.total/wired/not_wired), tools for category calc, sk for skills count
- GOLD backup: oss-discovery.html.GOLD-*-pre-v61-render-3args