Kenneth Lim

Results 263 comments of Kenneth Lim

If it helps, the error seems to be caused by logging certain objects and arrays. By converting the objects and arrays into strings it helps as shown in this PR:...

@jschfflr I'll try to put something together, might take awhile though as I got a few things going on at the moment.

@jschfflr I managed to put something together and in the process found the problem, at least on our end. The problem is that there's a cyclic reference in the object...

I'm on macOS Firefox 74 (latest stable release) and can't replicate this. @hellonearthis Can you try Firefox 74 on Windows to see if it still present as a bug?

I don't think this is something we can specifically document just for `print()` as most functions in p5.js cannot be used outside of `setup()` or `draw()` before `setup()` or `draw()`...

Hmm...seems to be Windows only. Anyone has any idea? I'm not familiar enough with Windows to say...

@debajitdeb11 Sure, do have a look at it. I'm not sure how would the FES detect `print("something")` is being used before initialization though as unlike the other functions, `print()` exist...

The source code for the web editor is located in [another repo](https://github.com/processing/p5.js-web-editor) but why do you need the source code for it for this issue?

I like the idea of nudging users towards including `describe()` in their sketch but at the same time I worry that making it mandatory for the sketch to run will...

@proxycase If it is possible to somehow enforce this using eslint we can include a default .eslintrc file in the p5.js-complete download with such a rule. Although I don't know...