https://gitlab.synchro.net/main/sbbs/-/commit/c653c17384f4dd1711fcd36b
Modified Files:
exec/allusers.js exec/ircbots/admin/admin.js exec/ircbots/antispam/antispam.js exec/ircbots/humanity/humanity.js humanity_functions.js exec/ircbots/rpgbot/rpg_commands.js rpg_editor.js rpg_functions.js exec/json-svc-ctrl.js exec/load/cnflib.js cvslib.js frame.js json-chat.js json-db.js layout.js rss-atom.js tree.js exec/slog.js web_feed_importer.js
Log Message:
Replace non-standard `for each` with `for...in` in exec/ scripts
The `for each(var x in obj)` syntax is a Mozilla SpiderMonkey extension
that is not supported by SpiderMonkey 128+. Replace all instances with
standard `for(var key in obj)` loops with explicit value extraction,
which is compatible with both SpiderMonkey 1.8.5 and 128.
Co-Authored-By: Claude Opus 4.6 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net