From 2cd6e1097dfc13085d7652df15338168e9fd7fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20=22Avic=22=20Simmons?= Date: Tue, 9 Jun 2026 14:51:04 -0400 Subject: [PATCH] docs: fix typos in comments and UI text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix grammar: create→creates in JSDoc comments (x8) - Fix misspellings: functiuon→function, recipeints→recipients, additions→additional, formate→format (x2) - Fix user-visible typo: Requirment→Requirement in password validation --- static/js/CarbonCopy.js | 2 +- static/js/Deadline.js | 8 ++++---- static/js/PassOption.js | 6 +++--- static/js/RecipientGroup.js | 6 +++--- static/js/Reminder.js | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/static/js/CarbonCopy.js b/static/js/CarbonCopy.js index d73d388..2e40b4b 100644 --- a/static/js/CarbonCopy.js +++ b/static/js/CarbonCopy.js @@ -23,7 +23,7 @@ class CarbonCopy{ createCcDiv(){ /*** - * This function create cc div + * This function creates cc div */ // Create the element diff --git a/static/js/Deadline.js b/static/js/Deadline.js index c08a8b5..9794ffa 100644 --- a/static/js/Deadline.js +++ b/static/js/Deadline.js @@ -26,7 +26,7 @@ class Deadline { createDeadlineDiv() { /*** - * This function create deadline div + * This function creates deadline div */ // Create the element @@ -97,7 +97,7 @@ class Deadline { createSubDiv() { /*** - * This function create deadline div + * This function creates deadline div */ // Create the element @@ -190,8 +190,8 @@ class Deadline { getDateFormat(date) { /*** - * This function will formate the date for input - * @param {Date} date The date object we wish to formate + * This function will format the date for input + * @param {Date} date The date object we wish to format */ // Create the day, month, and year variables diff --git a/static/js/PassOption.js b/static/js/PassOption.js index a5c876b..05fa110 100644 --- a/static/js/PassOption.js +++ b/static/js/PassOption.js @@ -25,7 +25,7 @@ class PassOption{ createPassDiv(){ /*** - * This function create cc div + * This function creates cc div */ // Create the element @@ -104,7 +104,7 @@ class PassOption{ createSubPassDiv(){ /*** - * This function create cc div + * This function creates cc div */ // Create the element @@ -219,7 +219,7 @@ class PassOption{ // Add attributes label.className = "recipient_label error_msg"; - label.innerHTML = "Password Requirment Not Met"; + label.innerHTML = "Password Requirement Not Met"; label.hidden = true; // Get divs for validations diff --git a/static/js/RecipientGroup.js b/static/js/RecipientGroup.js index 95eacee..2fb1697 100644 --- a/static/js/RecipientGroup.js +++ b/static/js/RecipientGroup.js @@ -25,7 +25,7 @@ class RecipientGroup { createRecipientDiv() { /*** - * This function create recipient div + * This function creates recipient div */ // Create the element @@ -122,7 +122,7 @@ class RecipientGroup { createAdditionalRecipientInput(recipient_id) { /*** - * This function add additions recipeints input + * This function adds additional recipients input */ var add_div = document.createElement('div'); @@ -153,7 +153,7 @@ class RecipientGroup { appendNewParticipentInput(participent_id) { /*** - * This functiuon appends a new recipient input + * This function appends a new recipient input */ // Create a line break diff --git a/static/js/Reminder.js b/static/js/Reminder.js index a4192d4..74ea724 100644 --- a/static/js/Reminder.js +++ b/static/js/Reminder.js @@ -20,7 +20,7 @@ class Reminder{ createReminderDiv(){ /*** - * This function create reminder div + * This function creates reminder div */ // Create the element @@ -85,7 +85,7 @@ class Reminder{ createSubDiv() { /*** - * This function create reminder sub div + * This function creates reminder sub div */ // Create the element