luci2: remove newline from generated view constructor code to make debugger line...
[project/luci2/ui.git] / 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'