diff --git a/lib/js2xml.js b/lib/js2xml.js index 44aa290..d9aea8f 100644 --- a/lib/js2xml.js +++ b/lib/js2xml.js @@ -39,8 +39,8 @@ exports.Js2Xml = (function() { return this; }; - Js2Xml.prototype.toString = function() { - return this.doc.toString(); + Js2Xml.prototype.toString = function(parameter) { + return this.doc.toString(parameter); }; return Js2Xml;