From: Jo-Philipp Wich Date: Sat, 5 Oct 2013 20:18:59 +0000 (+0000) Subject: luci2: remove newline from generated view constructor code to make debugger line... X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci2%2Fui.git;a=commitdiff_plain;h=d897f47ac6edd9fa4ac33d5b67adc236bbba8df2;hp=bcdd688eb8ef8df4304fd2081a88586ccbd7f222;ds=sidebyside luci2: remove newline from generated view constructor code to make debugger line numbers match the line numbers in the actual source files --- 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'