aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js
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
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')
-rw-r--r--lang/js/DemoExtension/maindemo.js2
-rw-r--r--lang/js/jsdoc_index.md2
-rw-r--r--lang/js/src/Helpers.js2
-rw-r--r--lang/js/src/Key.js4
-rw-r--r--lang/js/src/Keyring.js2
5 files changed, 6 insertions, 6 deletions
diff --git a/lang/js/DemoExtension/maindemo.js b/lang/js/DemoExtension/maindemo.js
index a9fdf28c..0c64860c 100644
--- a/lang/js/DemoExtension/maindemo.js
+++ b/lang/js/DemoExtension/maindemo.js
@@ -110,7 +110,7 @@ document.addEventListener('DOMContentLoaded', function () {
document.getElementById(
'pubkey').value = keys[0].fingerprint;
} else if (keys.length > 1) {
- alert('The pattern was not unambigious enough for a Key. '
+ alert('The pattern was not unambiguous enough for a Key. '
+ keys.length + ' Keys were found');
} else {
alert('No keys found');
diff --git a/lang/js/jsdoc_index.md b/lang/js/jsdoc_index.md
index b7371ad5..e5cf2873 100644
--- a/lang/js/jsdoc_index.md
+++ b/lang/js/jsdoc_index.md
@@ -39,7 +39,7 @@ gnupg.
**Due to security constraints, the javascript-binding currently only offers
limited support for secret-Key interaction.**
-The existance of secret Keys is not secret, and those secret Keys can be used
+The existence of secret Keys is not secret, and those secret Keys can be used
for signing, but Operations that may expose, modify or delete secret Keys are
not supported.
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'
*