Skip to content

Commit 7fee0d4

Browse files
authored
Merge pull request #5642 from eltociear/patch-5
Fix typo in fes_reference_dev_notes.md
2 parents a886238 + ff1fde4 commit 7fee0d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contributor_docs/fes_reference_dev_notes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ function preload() {
272272
}
273273
````
274274
FES will generate the following message in the console:
275-
> 🌸 p5.js says: An error with message "Cannot read property 'background' of undefined" occured inside the p5js library when "background" was called (on line 4 in sketch.js [http://localhost:8000/lib/empty-example/sketch.js:4:3]).
275+
> 🌸 p5.js says: An error with message "Cannot read property 'background' of undefined" occurred inside the p5js library when "background" was called (on line 4 in sketch.js [http://localhost:8000/lib/empty-example/sketch.js:4:3]).
276276
//If not stated otherwise, it might be due to "background" being called from preload. Nothing besides load calls (loadImage, loadJSON, loadFont, loadStrings, etc.) should be inside the preload function. (http://p5js.org/reference/#/p5/preload)
277277

278278
<ins>Internal Error Example 2</ins>
@@ -283,7 +283,7 @@ function setup() {
283283
}
284284
````
285285
FES will generate the following message in the console:
286-
> 🌸 p5.js says: An error with message "Cannot read property 'bind' of undefined" occured inside the p5js library when mouseClicked was called (on line 3 in sketch.js [http://localhost:8000/lib/empty-example/sketch.js:3:7]) If not stated otherwise, it might be an issue with the arguments passed to mouseClicked. (http://p5js.org/reference/#/p5/mouseClicked)
286+
> 🌸 p5.js says: An error with message "Cannot read property 'bind' of undefined" occurred inside the p5js library when mouseClicked was called (on line 3 in sketch.js [http://localhost:8000/lib/empty-example/sketch.js:3:7]) If not stated otherwise, it might be an issue with the arguments passed to mouseClicked. (http://p5js.org/reference/#/p5/mouseClicked)
287287
288288
<ins>Example of an Error in User's Sketch (Scope)</ins>
289289
````JavaScript
@@ -483,4 +483,4 @@ const original_functions = {
483483
```
484484
* Generate the FES reference from the inline doc. This generated reference can be a separate system from our main [p5.js reference], to keep functions for sketch and console separate to reduce possible confusion.
485485
486-
[p5.js reference]: https://p5js.org/reference/
486+
[p5.js reference]: https://p5js.org/reference/

0 commit comments

Comments
 (0)