expo / expo/expo-processing

loadImage function throws undefined error for instanceof

Open
#1 4 comments 8 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.