https://gitlab.synchro.net/main/sbbs/-/commit/5f893c1f6701ed9bb1654e25
Modified Files:
exec/load/acmev2.js termdesc.js exec/sbbslist.js xtrn/go-for/go-for.js xtrn/kingdom/kingdom.js xtrn/lord2/l2lib.js xtrn/war/warcommon.js
Log Message:
Fix JavaScript errors for SM128 compatibility
- acmev2.js: Replace .toSource() with JSON.stringify() (4 occurrences)
- termdesc.js: Explicitly assign functions to this for load({}) scope
- sbbslist.js: Remove duplicate return causing unreachable code warning
- go-for.js: Change top-level const to var (redeclaration error)
- kingdom.js: Change top-level const to var
- warcommon.js: Change top-level const to var
- l2lib.js: Wrap eval'd function expressions in parens (SM128 requires
function expressions, not function statements, inside eval)
Co-Authored-By: Claude Opus 4.6 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net