Skip to content

Commit

Permalink
minor comment updates
Browse files Browse the repository at this point in the history
  • Loading branch information
electric-el committed Jun 11, 2023
1 parent 3134901 commit aeea9d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/classes/code-viewer.js
Expand Up @@ -25,7 +25,7 @@ function addLineageListeners($orgs, uiFns) {
export default class CodeViewer {

/* CLASS FIELDS */
// The following functions are declared as class fields to retain function-scoped `this` context while keeping the
// The following function is declared as a class field to retain the Event function prototype while keeping the
// class constructor tidy. Exposed as properties on the instance so they can be unit tested.

receiveIframeMessage = (event) => {
Expand Down
2 changes: 1 addition & 1 deletion scripts/ui/functions.js
Expand Up @@ -190,7 +190,7 @@ export default class UiFns {
* @returns {object|undefined} Event data.
*/
receiveIframeMessageBoilerplate(event) {
// Does the origin sending the message match the current host? If not, dev/null the request.
// Does the origin sending the message match the current host? If not, /dev/null the request.
if (
this.#root.location.protocol !== 'file:' &&
event.origin !== this.#root.location.protocol + '//' + this.#root.location.host
Expand Down

0 comments on commit aeea9d9

Please sign in to comment.