From b7eb63c8be719a43c9aba48484648f375e376c53 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 12 Jan 2015 10:00:41 -0800 Subject: html.js, xml.js: avoid using concat. --- js/lib/xml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/lib/xml.js') diff --git a/js/lib/xml.js b/js/lib/xml.js index e8fba6a..e867fdc 100644 --- a/js/lib/xml.js +++ b/js/lib/xml.js @@ -9,7 +9,7 @@ var tag = function(name, attrs, selfclosing) { var i = 0; var attrib; while ((attrib = attrs[i]) !== undefined) { - result = result.concat(' ', attrib[0], '="', attrib[1], '"'); + result += ' ' + attrib[0] + '="' + attrib[1] + '"'; i++; } } -- cgit v1.2.3