From 85f4c359797369c7ea611ea5e435673db5803e10 Mon Sep 17 00:00:00 2001 From: Garima Date: Mon, 16 Oct 2023 23:46:30 +0530 Subject: [PATCH] fixed typos in fes_core.js documentation --- src/core/friendly_errors/fes_core.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/friendly_errors/fes_core.js b/src/core/friendly_errors/fes_core.js index 539b7f9c4c..bd6ed609b6 100644 --- a/src/core/friendly_errors/fes_core.js +++ b/src/core/friendly_errors/fes_core.js @@ -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. @@ -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". @@ -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