diff --git a/javascript/qrcodegen.js b/javascript/qrcodegen.js index c20308a..707d67f 100644 --- a/javascript/qrcodegen.js +++ b/javascript/qrcodegen.js @@ -169,27 +169,20 @@ var qrcodegen = new function() { this.toSvgString = function(border) { if (border < 0) throw "Border must be non-negative"; - var result = '\n'; - result += '\n'; - result += '\n'; - result += '\t\n'; - result += '\t\n' + + '\n' + + '\n' + + '\t\n' + + '\t\n' + + '\n'; };