In ContentObject constructor, remove unused signature argument
diff --git a/js/ContentObject.js b/js/ContentObject.js
index 38c8066..ec2efde 100644
--- a/js/ContentObject.js
+++ b/js/ContentObject.js
@@ -11,9 +11,8 @@
* @param {Name} name
* @param {SignedInfo} signedInfo
* @param {Uint8Array} content
- * @param {Signature} signature
*/
-var ContentObject = function ContentObject(name, signedInfo, content, signature) {
+var ContentObject = function ContentObject(name, signedInfo, content) {
if (typeof name == 'string')
this.name = new Name(name);
else
@@ -27,7 +26,7 @@
else
this.content = content;
- this.signature = signature;
+ this.signature = new Signature();
this.startSIG = null;
this.endSIG = null;