Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesneimog committed Nov 29, 2024
1 parent 1958a3c commit 3e99412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/patch/templates/4-p5js.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Just download and have fun. If you have any question, please, let me know. If yo
Always check if the `Pd4Web` object is defined before using it. This is because the `Pd4Web` object is only defined when the patch is loaded, which happens when the user click in the sound icon.
``` javascript
if (Pd4Web !== null && typeof Pd4Web !== "undefined") {
Pd4Web.sendList("myList", [1, 2, 3]);
Pd4Web.sendList("myList ", [1, 2, 3]);
}

```
Expand Down

0 comments on commit 3e99412

Please sign in to comment.