-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Updating all the broken refrence examples. #7739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
81ff09d
77a1492
302e25b
ade54ac
9df7595
28cf83f
5d2aad1
9e7445f
12a6a17
8f017b0
eaedc0a
2abbd76
7b5d67c
c3851b3
dac7ff2
d19fefc
e4acb5f
9039796
63af24e
24763af
301d42f
dd6a988
58e8746
25b164e
bf86b77
289c176
36b0bb0
608d2fa
68dd3ae
cefb10b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -462,9 +462,10 @@ for (const k in constants) { | |
| * ``` | ||
| * | ||
| * Code placed in `setup()` will run once before code placed in | ||
| * <a href="#/p5/draw">draw()</a> begins looping. If the | ||
| * <a href="#/p5/preload">preload()</a> is declared, then `setup()` will | ||
| * run immediately after <a href="#/p5/preload">preload()</a> finishes | ||
| * <a href="#/p5/draw">draw()</a> begins looping. When `setup()` is declared async, | ||
| * execution pauses at each `await` until the promise resolves, ensuring all assets | ||
|
||
| * are loaded before the sketch continues. | ||
| * | ||
| * loading assets. | ||
| * | ||
| * Note: `setup()` doesn’t have to be declared, but it’s common practice to do so. | ||
|
|
@@ -535,7 +536,6 @@ for (const k in constants) { | |
| * </code> | ||
| * </div> | ||
| */ | ||
|
|
||
| /** | ||
| * A function that's called repeatedly while the sketch runs. | ||
| * | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about a slightly more precise description:
"When
setup()uses theasynckeyword (like this:async function setup()instead offunction setup())...."