From a444896fb9b97ef809a61242c8acdb4d08fb6081 Mon Sep 17 00:00:00 2001 From: Fabien de Maestri Date: Mon, 30 Jun 2014 10:52:53 +0200 Subject: [PATCH] feat(toString): add a paramter to delete backslash n --- lib/js2xml.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;