diff --git a/src/static/js/contentcollector.js b/src/static/js/contentcollector.js index 7dd70e512..4735374ee 100644 --- a/src/static/js/contentcollector.js +++ b/src/static/js/contentcollector.js @@ -534,7 +534,7 @@ const makeContentCollector = (collectStyles, abrowser, apool, className2Author) // As the concept of parent's doesn't exist when processing each domline... } } else { - // Below needs more testin if it's neccesary as _exitList should take care of this. + // Below needs more testin if it's necessary as _exitList should take care of this. // delete state.start; // delete state.listNesting; // _recalcAttribString(state); diff --git a/src/static/js/pad.js b/src/static/js/pad.js index df409372a..1278f4852 100644 --- a/src/static/js/pad.js +++ b/src/static/js/pad.js @@ -167,7 +167,7 @@ const getUrlVars = () => new URL(window.location.href).searchParams; const sendClientReady = (isReconnect) => { let padId = document.location.pathname.substring(document.location.pathname.lastIndexOf('/') + 1); - // unescape neccesary due to Safari and Opera interpretation of spaces + // unescape necessary due to Safari and Opera interpretation of spaces padId = decodeURIComponent(padId); if (!isReconnect) { @@ -213,7 +213,7 @@ const sendClientReady = (isReconnect) => { const handshake = async () => { let receivedClientVars = false; let padId = document.location.pathname.substring(document.location.pathname.lastIndexOf('/') + 1); - // unescape neccesary due to Safari and Opera interpretation of spaces + // unescape necessary due to Safari and Opera interpretation of spaces padId = decodeURIComponent(padId); // padId is used here for sharding / scaling. We prefix the padId with padId: so it's clear diff --git a/src/static/js/pluginfw/hooks.js b/src/static/js/pluginfw/hooks.js index ac35cffce..731cbd190 100644 --- a/src/static/js/pluginfw/hooks.js +++ b/src/static/js/pluginfw/hooks.js @@ -225,7 +225,7 @@ exports.callAll = (hookName, context) => { // provides settles (resolves or rejects). If a hook function attempts to settle again (e.g., call // the callback again, or return a value and also call the callback) then the second attempt has no // effect except either an error message is logged or an Error object is thrown depending on whether -// the the subsequent attempt is a duplicate (same value or error) or different, respectively. +// the subsequent attempt is a duplicate (same value or error) or different, respectively. // // See the tests in src/tests/backend/specs/hooks.js for examples of supported and prohibited // behaviors.