loadImage function throws undefined error for instanceof
Open
- Dominant language
- JavaScript
- Stars
- 102
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
```
sketch={p => {
var img;
p.setup = () => {
img = p.loadImage('base64data') // tried with url too
}
p.draw = () => {
p.background(222);
}
}}
```
Throws
`undefined is not a valid argument for 'instanceof' (evaluating 'e instanceof p')` error.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.