Initial update of comments to JSDoc format.
diff --git a/js/PublisherID.js b/js/PublisherID.js
index cea6f83..fb83879 100644
--- a/js/PublisherID.js
+++ b/js/PublisherID.js
@@ -4,14 +4,16 @@
* This class represents Publisher and PublisherType Objects
*/
-
-var PublisherType = function PublisherType(_tag){
+/**
+ * @constructor
+ */
+var PublisherType = function PublisherType(tag){
this.KEY =(CCNProtocolDTags.PublisherPublicKeyDigest);
this.CERTIFICATE= (CCNProtocolDTags.PublisherCertificateDigest);
this.ISSUER_KEY= (CCNProtocolDTags.PublisherIssuerKeyDigest);
this.ISSUER_CERTIFICATE =(CCNProtocolDTags.PublisherIssuerCertificateDigest);
- this.Tag = _tag;
+ this.Tag = tag;
};
var isTypeTagVal = function(tagVal) {
@@ -24,9 +26,9 @@
return false;
};
-
-
-
+/**
+ * @constructor
+ */
var PublisherID = function PublisherID() {
this.PUBLISHER_ID_DIGEST_ALGORITHM = "SHA-256";