From 213de7a941eb726c54230d1f1f5abf753966b04f Mon Sep 17 00:00:00 2001 From: toby Date: Wed, 8 Mar 2017 11:55:26 -0500 Subject: [PATCH] Fix jsdoc typos and remove unnecessary comment --- src/js/operations/PGP.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/js/operations/PGP.js b/src/js/operations/PGP.js index 5f3bb01f..edfebf5b 100755 --- a/src/js/operations/PGP.js +++ b/src/js/operations/PGP.js @@ -16,7 +16,7 @@ var PGP = { * Encrypts the input using PGP. * * @param {string} input - plaintext to encrypt - * @param {function} args + * @param {Object[]} args * @returns {string} */ runEncrypt: function (plaintext, args) { @@ -32,10 +32,8 @@ var PGP = { reject("Failed to read public key", error); } - // Timeout is so that UI can update before openpgp blocks thread openpgp.encrypt(options) .then(function(ciphertext) { - console.log(ciphertext); resolve(ciphertext.data); }) .catch(function(error) { @@ -49,7 +47,7 @@ var PGP = { * Decrypts the input using PGP. * * @param {string} input - ciphertext to decrypt - * @param {function} args + * @param {Object[]} args * @returns {string} */ runDecrypt: function (input, args) {