Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in source code comments #334

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ async function updateMatchingPasswordsCount(tabId, forceRefresh = false) {
throw new Error(`Unable to determine domain of the tab with id ${tabId}`);
}

// Compule badge counter
// Compute badge counter
const files = helpers.ignoreFiles(badgeCache.files, badgeCache.settings);
const logins = helpers.prepareLogins(files, badgeCache.settings);
const matchedPasswordsCount = logins.reduce(
Expand Down
2 changes: 1 addition & 1 deletion src/inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@
el.dispatchEvent(new Event(eventName, { bubbles: true }));
}

// Focus may have triggered unvealing a true input, find it again
// Focus may have triggered unveiling a true input, find it again
el = find(field, form);
if (!el) {
return false;
Expand Down
2 changes: 1 addition & 1 deletion src/popup/detailsInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function DetailsInterface(settingsModel) {
return {
// public methods
/**
* Initialize compoenent: get settings and login
* Initialize component: get settings and login
*
* @since 3.8.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/popup/models/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ Login.prototype.save = async function(login) {
*
* @since 3.8.0
*
* @param {string} password Value of password to be assgined.
* @param {string} password Value of password to be assigned.
*/
Login.prototype.setPassword = function(password = "") {
// secret is either entire raw text or defaults to blank string
Expand Down
2 changes: 1 addition & 1 deletion src/popup/models/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Settings.prototype.get = async function () {
}

/**
* Retreive store object. Can optionally return just the sub path value.
* Retrieve store object. Can optionally return just the sub path value.
*
* @since 3.8.0
*
Expand Down
4 changes: 2 additions & 2 deletions src/popup/models/Tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function Tree(storeId = "", paths = []) {
}

/**
* Recurssively inserts directories into the Tree
* Recursively inserts directories into the Tree
*
* @since 3.8.0
*
Expand Down Expand Up @@ -52,7 +52,7 @@ function insert(parentNode, dirs = []) {
}

/**
* Recurssively loop over entire tree and return sum of nodes
* Recursively loop over entire tree and return sum of nodes
*
* @since 3.8.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/popup/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ let state = {

/**
* Creates new notification message and adds it to current
* notificatino state.
* notification state.
*
* @since 3.8.0
*
Expand Down