Commit ad6ccfc
fix(viewer): escape template literal in split resizer script
The `${current}px` inside the inline JS script was being interpolated
by the MoonBit compiler's outer template literal, causing a
ReferenceError in bench/test contexts where no `current` variable
existed in scope. Switch to string concatenation to avoid this.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 64e0349 commit ad6ccfc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
| 430 | + | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| |||
0 commit comments