From d897f47ac6edd9fa4ac33d5b67adc236bbba8df2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 5 Oct 2013 20:18:59 +0000 Subject: [PATCH] luci2: remove newline from generated view constructor code to make debugger line numbers match the line numbers in the actual source files --- luci2/htdocs/luci2/luci2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci2/htdocs/luci2/luci2.js b/luci2/htdocs/luci2/luci2.js index fc5d84a..43cd54e 100644 --- a/luci2/htdocs/luci2/luci2.js +++ b/luci2/htdocs/luci2/luci2.js @@ -2056,7 +2056,7 @@ function LuCI2() }).then(function(data) { try { var viewConstructorSource = ( - '(function(L, $) {\n' + + '(function(L, $) { ' + 'return %s' + '})(_luci2, $);\n\n' + '//@ sourceURL=%s' -- 2.11.0