Initial update of comments to JSDoc format.
diff --git a/js/security/KeyManager.js b/js/security/KeyManager.js
index 32a7f42..d3e70cd 100644
--- a/js/security/KeyManager.js
+++ b/js/security/KeyManager.js
@@ -3,6 +3,9 @@
* See COPYING for copyright and distribution information.
*/
+/**
+ * @constructor
+ */
var KeyManager = function KeyManager(){
diff --git a/js/security/Witness.js b/js/security/Witness.js
index 59f4fe1..04d9acf 100644
--- a/js/security/Witness.js
+++ b/js/security/Witness.js
@@ -3,11 +3,17 @@
* See COPYING for copyright and distribution information.
*/
+/**
+ * @constructor
+ */
var MerklePath = function MerkelPath() {
this.index = null; // int
this.digestList = []; // array of hex string
};
+/**
+ * @constructor
+ */
var Witness = function Witness() {
this.oid = null; // string
this.path = new MerklePath(); // MerklePath