Commit 5f57f36
authored
fix: Export JSInterface to window object to fix ReferenceError (#5674)
The constraints.js file expects JSInterface to be available as a global
variable, but interface.js was only exporting it for CommonJS (module.exports)
and not attaching it to the window object.
This commit adds the window export following the same pattern used in
export.js for Mouse and MusicBlocks classes.
Fixes: Uncaught ReferenceError: JSInterface is not defined at constraints.js:23:11 parent cd58f16 commit 5f57f36
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1810 | 1810 | | |
1811 | 1811 | | |
1812 | 1812 | | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
0 commit comments