I fixed this error, but there is probably another error, because it still doesn’t work.
I should get this.
But nothing displays in the canvas.
(I tested in both Firefox on Linux, and Chrome on a Chrome-Book)
In the console of Firefox the error reported is:
Uncaught ReferenceError: require is not defined
At line 4 there is:
var Js_math = require("./bs-platform/lib/js/js_math.js");
I added ./ before bs-platform to set a local path.
The directory ./bs-platform/lib/js/ does contain all the dependencies, so I don’t know what’s wrong.