luci2: remove newline from generated view constructor code to make debugger line...
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 5 Oct 2013 20:18:59 +0000 (20:18 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 5 Oct 2013 20:18:59 +0000 (20:18 +0000)
luci2/htdocs/luci2/luci2.js

index fc5d84a..43cd54e 100644 (file)
@@ -2056,7 +2056,7 @@ function LuCI2()
                        }).then(function(data) {
                                try {
                                        var viewConstructorSource = (
-                                               '(function(L, $) {\n' +
+                                               '(function(L, $) { ' +
                                                        'return %s' +
                                                '})(_luci2, $);\n\n' +
                                                '//@ sourceURL=%s'