aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2018-11-08 05:34:27 +0000
committerDaniel Kahn Gillmor <[email protected]>2018-11-08 05:34:27 +0000
commit2557d0ae6ff0336b041129b7bf5c1e3a8c20a805 (patch)
treed53dd780b6169d9cc09d7ab91e99e28cb8e96084 /lang/js/src
parentdocs: python bindings (diff)
downloadgpgme-2557d0ae6ff0336b041129b7bf5c1e3a8c20a805.tar.gz
gpgme-2557d0ae6ff0336b041129b7bf5c1e3a8c20a805.zip
spelling: fix misspellings
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'lang/js/src')
-rw-r--r--lang/js/src/Helpers.js2
-rw-r--r--lang/js/src/Key.js4
-rw-r--r--lang/js/src/Keyring.js2
3 files changed, 4 insertions, 4 deletions
diff --git a/lang/js/src/Helpers.js b/lang/js/src/Helpers.js
index f472b234..0b5ab7e8 100644
--- a/lang/js/src/Helpers.js
+++ b/lang/js/src/Helpers.js
@@ -171,7 +171,7 @@ export function atobArray (base64) {
* Taken and slightly adapted from
* https://www.onicos.com/staff/iz/amuse/javascript/expert/utf.txt
* (original header:
- * utf.js - UTF-8 <=> UTF-16 convertion
+ * utf.js - UTF-8 <=> UTF-16 conversion
*
* Copyright (C) 1999 Masanao Izumo <[email protected]>
* Version: 1.0
diff --git a/lang/js/src/Key.js b/lang/js/src/Key.js
index f5ee9656..a3f52044 100644
--- a/lang/js/src/Key.js
+++ b/lang/js/src/Key.js
@@ -94,7 +94,7 @@ class GPGME_Key {
/**
* Query any property of the Key listed in {@link validKeyProperties}
- * @param {String} property property to be retreived
+ * @param {String} property property to be retrieved
* @returns {Boolean| String | Date | Array | Object}
* @returns {Promise<Boolean| String | Date | Array | Object>} (if in async
* mode)
@@ -708,4 +708,4 @@ function getGnupgState (fingerprint, property){
});
}
});
-} \ No newline at end of file
+}
diff --git a/lang/js/src/Keyring.js b/lang/js/src/Keyring.js
index 850f9f18..9f313577 100644
--- a/lang/js/src/Keyring.js
+++ b/lang/js/src/Keyring.js
@@ -384,7 +384,7 @@ export class GPGME_Keyring {
* @param {String} option.userId The user Id, e.g. 'Foo Bar <[email protected]>'
* @param {String} option.algo (optional) algorithm (and optionally key
* size) to be used. See {@link supportedKeyAlgos} below for supported
- * values. If ommitted, 'default' is used.
+ * values. If omitted, 'default' is used.
* @param {Number} option.expires (optional) Expiration time in seconds
* from now. If not set or set to 0, expiration will be 'never'
*