mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-05 18:18:49 +00:00
M13.12: script socket port validation, resource-string trailing commas, parser and socket edge-case tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
88384197f9
commit
2f1788bdf6
3 files changed
+144
-1
No files matched your search
@@ -143,6 +143,12 @@ function __uiParseRes(src) {
|
||||
ws();
|
||||
if (s.charAt(i) === ",") {
|
||||
i++;
|
||||
// A trailing comma, as JavaScript allows.
|
||||
ws();
|
||||
if (s.charAt(i) === "]") {
|
||||
i++;
|
||||
return a;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (s.charAt(i) === "]") {
|
||||
|
||||
Reference in new issue
Block a user