Skip to content

Commit

Permalink
Merge pull request #6478 from Garima3110/main
Browse files Browse the repository at this point in the history
Fixed typing errors in fes_core.js documentation
  • Loading branch information
limzykenneth authored Oct 18, 2023
2 parents ce8508c + 4050926 commit 95b3a8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/friendly_errors/fes_core.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* The FES may be invoked by a call to either
* (1) _validateParameters, (2) _friendlyFileLoadError, (3) _friendlyError,
* (4) helpForMisusedAtTopLevelCode, or (5) _fesErrorMontitor.
* (4) helpForMisusedAtTopLevelCode, or (5) _fesErrorMonitor.
*
* _validateParameters is located in validate_params.js along with other code
* used for parameter validation.
Expand Down Expand Up @@ -321,7 +321,7 @@ if (typeof IS_MINIFIED !== 'undefined') {
};

/**
* Compares the symbol caught in the ReferenceErrror to everything in
* Compares the symbol caught in the ReferenceError to everything in
* misusedAtTopLevel ( all public p5 properties ).
*
* Generates and prints a friendly error message using key: "fes.misspelling".
Expand Down Expand Up @@ -468,12 +468,12 @@ if (typeof IS_MINIFIED !== 'undefined') {
* Generates and prints a friendly error message using key:
* "fes.wrongPreload", "fes.libraryError".
*
* The processed stack is used to find whether the error happended internally
* The processed stack is used to find whether the error happened internally
* within the library, and if the error was due to a non-loadX() method
* being used in preload.
*
* "Internally" here means that the exact location of the error (the top of
* the stack) is a piece of code write in the p5.js library (which may or
* the stack) is a piece of code written in the p5.js library (which may or
* may not have been called from the user's sketch).
*
* @method processStack
Expand Down

0 comments on commit 95b3a8c

Please sign in to comment.