From abee78b6e7b5433748c8dcb402534f7e015b7168 Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Sun, 20 Aug 2017 15:11:10 -0400 Subject: [PATCH] Use array.join instead --- templates/editor.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/editor.html b/templates/editor.html index 3d3aeeb..633fdf4 100755 --- a/templates/editor.html +++ b/templates/editor.html @@ -287,8 +287,9 @@ outputarr = [data.evalout[keys[0]]]; } console.log("outputarr", outputarr); + console.log(outputarr.join("\n")); - $('#eval').text(Array.join(outputarr, "\n")); + $('#eval').text(outputarr.join("\n")); } }); });