]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] JS: Remove spaces inside object's curly braces
authorAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 4 Jul 2018 09:35:22 +0000 (12:35 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 4 Jul 2018 09:35:22 +0000 (12:35 +0300)
interface/js/app/graph.js
interface/js/app/stats.js

index 46231bc1f1301fb5cb059ae2e6f91abff75ed13b..fdda44e92b3501cf52ef0324bcc14a2394504528 100644 (file)
@@ -155,12 +155,12 @@ define(["jquery", "d3evolution", "footable"],
                     enabled: true
                 },
                 columns: [
-                    { name: "label", title: "Action" },
-                    { name: "value", title: "Messages",         defaultContent: "" },
-                    { name: "min",   title: "Minimum, " + unit, defaultContent: "" },
-                    { name: "avg",   title: "Average, " + unit, defaultContent: "" },
-                    { name: "max",   title: "Maximum, " + unit, defaultContent: "" },
-                    { name: "last",  title: "Last, " + unit },
+                    {name: "label", title: "Action"},
+                    {name: "value", title: "Messages",         defaultContent: ""},
+                    {name: "min",   title: "Minimum, " + unit, defaultContent: ""},
+                    {name: "avg",   title: "Average, " + unit, defaultContent: ""},
+                    {name: "max",   title: "Maximum, " + unit, defaultContent: ""},
+                    {name: "last",  title: "Last, " + unit},
                 ],
                 rows: rows
             });
index 738fd59cf9f5fd22e6aedb3e64e45248ce794166..e83de04335ac485f77c739337a88d999f2096be8 100644 (file)
@@ -206,7 +206,7 @@ define(["jquery", "d3pie", "humanize"],
                     }
                     neighbours_sum.uptime = Math.floor(neighbours_sum.uptime / status_count);
                     var to_Credentials = {};
-                    to_Credentials["All SERVERS"] = { name: "All SERVERS",
+                    to_Credentials["All SERVERS"] = {name: "All SERVERS",
                         url: "",
                         host: "",
                         checked: true,