Skip to content

Commit 81c0c63

Browse files
authored
Fix spelling mistakes in source code comments (#334)
1 parent dd1447f commit 81c0c63

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ async function updateMatchingPasswordsCount(tabId, forceRefresh = false) {
142142
throw new Error(`Unable to determine domain of the tab with id ${tabId}`);
143143
}
144144

145-
// Compule badge counter
145+
// Compute badge counter
146146
const files = helpers.ignoreFiles(badgeCache.files, badgeCache.settings);
147147
const logins = helpers.prepareLogins(files, badgeCache.settings);
148148
const matchedPasswordsCount = logins.reduce(

src/inject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@
451451
el.dispatchEvent(new Event(eventName, { bubbles: true }));
452452
}
453453

454-
// Focus may have triggered unvealing a true input, find it again
454+
// Focus may have triggered unveiling a true input, find it again
455455
el = find(field, form);
456456
if (!el) {
457457
return false;

src/popup/detailsInterface.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function DetailsInterface(settingsModel) {
4343
return {
4444
// public methods
4545
/**
46-
* Initialize compoenent: get settings and login
46+
* Initialize component: get settings and login
4747
*
4848
* @since 3.8.0
4949
*

src/popup/models/Login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ Login.prototype.save = async function(login) {
391391
*
392392
* @since 3.8.0
393393
*
394-
* @param {string} password Value of password to be assgined.
394+
* @param {string} password Value of password to be assigned.
395395
*/
396396
Login.prototype.setPassword = function(password = "") {
397397
// secret is either entire raw text or defaults to blank string

src/popup/models/Settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Settings.prototype.get = async function () {
9090
}
9191

9292
/**
93-
* Retreive store object. Can optionally return just the sub path value.
93+
* Retrieve store object. Can optionally return just the sub path value.
9494
*
9595
* @since 3.8.0
9696
*

src/popup/models/Tree.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function Tree(storeId = "", paths = []) {
1919
}
2020

2121
/**
22-
* Recurssively inserts directories into the Tree
22+
* Recursively inserts directories into the Tree
2323
*
2424
* @since 3.8.0
2525
*
@@ -52,7 +52,7 @@ function insert(parentNode, dirs = []) {
5252
}
5353

5454
/**
55-
* Recurssively loop over entire tree and return sum of nodes
55+
* Recursively loop over entire tree and return sum of nodes
5656
*
5757
* @since 3.8.0
5858
*

src/popup/notifications.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ let state = {
5353

5454
/**
5555
* Creates new notification message and adds it to current
56-
* notificatino state.
56+
* notification state.
5757
*
5858
* @since 3.8.0
5959
*

0 commit comments

Comments
 (0)