Skip to content

Commit

Permalink
docs(tests): Typo corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcallen committed Aug 14, 2023
1 parent 653e12f commit 2e6b6f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/scripts/load.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const ROOT = window.location.href.replace(/\/tests\/.*$/, '/');
* uncompressed for when loading from local machine and compressed
* otherwise. See issue #5557 for additional background.
*
* @return {boolean} True if shoudl load in compressed mode.
* @return {boolean} True if should load in compressed mode.
*/
function compressed() {
const param = location.search.match(/compressed=([^&]+)/)?.[1];
Expand All @@ -68,14 +68,14 @@ export const COMPRESSED = compressed();
*
* When loading in uncompressed mode, if scriptExports is a simple
* variable name (e.g. 'Blockly') then globalThis[scriptExports] will
* be set to the the chunk's Module object. This attempts provide
* be set to the the chunk's Module object. This attempts to provide
* backward compatibility with loading the compressed chunk as a
* script, where this is done by the compressed chunk's UMD wrapper.
* The compatibility is not complete, however: since Module objects
* are immutable, it is not possible to set (e.g.)
* Blockly.libraryBlocks.
*
* The intention is to allow the chunk to be accessed accessed either
* The intention is to allow the chunk to be accessed either via
* the returned Module / exports object (preferred) or via the global
* scope (needed by dev-tools) regardless of whether it was loaded
* compressed or uncompressed.
Expand Down Expand Up @@ -124,7 +124,7 @@ export function loadScript(src) {
}

/**
* Get the value referred to by a doted-itentifier path
* Get the value referred to by a dotted-identifier path
* (e.g. foo.bar.baz). Throws TypeError if path is is not valid,
* i.e., if any component but the last does not exist).
*
Expand Down

0 comments on commit 2e6b6f6

Please sign in to comment.