Index: lib/utils.js |
=================================================================== |
--- a/lib/utils.js |
+++ b/lib/utils.js |
@@ -215,8 +215,10 @@ |
* Posts an action to the event queue of the current thread to run it |
* asynchronously. Any additional parameters to this function are passed |
* as parameters to the callback. |
+ * @param {function} callback |
+ * @param {object} thisPtr |
*/ |
- runAsync: function(/**Function*/ callback, /**Object*/ thisPtr) |
+ runAsync: function(callback, thisPtr) |
{ |
let params = Array.prototype.slice.call(arguments, 2); |
let runnable = { |
@@ -400,8 +402,12 @@ |
/** |
* Verifies RSA signature. The public key and signature should be base64-encoded. |
+ * @param {string} key |
+ * @param {string} signature |
+ * @param {string} data |
+ * @return {boolean} |
*/ |
- verifySignature: function(/**String*/ key, /**String*/ signature, /**String*/ data) /**Boolean*/ |
+ verifySignature: function(key, signature, data) |
{ |
if (!Utils.crypto) |
return false; |