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 fc5d84a458f71e3799ae5ecb0f15323a0993a831..43cd54e842c835c2290017ba1ea75eaba11226dd 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'