inform jslint that globals are assigned intentionally
Costa Tsaousis (ktsaou) committed
Feb 4, 2017 at 19:36 UTC
513ad9e813f3d415661509c3140b846bdc903cf7
1 file changed
+44
-44
web/dashboard.js
+44
-44
@@ -1,50 +1,50 @@
1
// ----------------------------------------------------------------------------
2
// You can set the following variables before loading this script:
3
4
-/*global netdataNoDygraphs *//* boolean, disable dygraph charts
5
- * (default: false) */
6
-/*global netdataNoSparklines *//* boolean, disable sparkline charts
7
- * (default: false) */
8
-/*global netdataNoPeitys *//* boolean, disable peity charts
9
- * (default: false) */
10
-/*global netdataNoGoogleCharts *//* boolean, disable google charts
11
- * (default: false) */
12
-/*global netdataNoMorris *//* boolean, disable morris charts
13
- * (default: false) */
14
-/*global netdataNoEasyPieChart *//* boolean, disable easypiechart charts
15
- * (default: false) */
16
-/*global netdataNoGauge *//* boolean, disable gauge.js charts
17
- * (default: false) */
18
-/*global netdataNoD3 *//* boolean, disable d3 charts
19
- * (default: false) */
20
-/*global netdataNoC3 *//* boolean, disable c3 charts
21
- * (default: false) */
22
-/*global netdataNoBootstrap *//* boolean, disable bootstrap - disables help too
23
- * (default: false) */
24
-/*global netdataDontStart *//* boolean, do not start the thread to process the charts
25
- * (default: false) */
26
-/*global netdataErrorCallback *//* function, callback to be called when the dashboard encounters an error
27
- * (default: null) */
28
-/*global netdataRegistry *//* boolean, use the netdata registry
29
- * (default: false) */
30
-/*global netdataNoRegistry *//* boolean, included only for compatibility with existing custom dashboard
31
- * (obsolete - do not use this any more) */
32
-/*global netdataRegistryCallback *//* function, callback that will be invoked with one param: the URLs from the registry
33
- * (default: null) */
34
-/*global netdataShowHelp *//* boolean, disable charts help
35
- * (default: true) */
36
-/*global netdataShowAlarms *//* boolean, enable alarms checks and notifications
37
- * (default: false) */
38
-/*global netdataRegistryAfterMs *//* ms, delay registry use at started
39
- * (default: 1500) */
40
-/*global netdataCallback *//* function, callback to be called when netdata is ready to start
41
- * (default: null)
42
- * netdata will be running while this is called
43
- * (call NETDATA.pause to stop it) */
44
-/*global netdataPrepCallback *//* function, callback to be called before netdata does anything else
45
- * (default: null) */
46
-/*global netdataServer *//* string, the URL of the netdata server to use
47
- * (default: the URL the page is hosted at) */
4
+/*global netdataNoDygraphs *//* boolean, disable dygraph charts
5
+ * (default: false) */
6
+/*global netdataNoSparklines *//* boolean, disable sparkline charts
7
+ * (default: false) */
8
+/*global netdataNoPeitys *//* boolean, disable peity charts
9
+ * (default: false) */
10
+/*global netdataNoGoogleCharts *//* boolean, disable google charts
11
+ * (default: false) */
12
+/*global netdataNoMorris *//* boolean, disable morris charts
13
+ * (default: false) */
14
+/*global netdataNoEasyPieChart *//* boolean, disable easypiechart charts
15
+ * (default: false) */
16
+/*global netdataNoGauge *//* boolean, disable gauge.js charts
17
+ * (default: false) */
18
+/*global netdataNoD3 *//* boolean, disable d3 charts
19
+ * (default: false) */
20
+/*global netdataNoC3 *//* boolean, disable c3 charts
21
+ * (default: false) */
22
+/*global netdataNoBootstrap *//* boolean, disable bootstrap - disables help too
23
+ * (default: false) */
24
+/*global netdataDontStart *//* boolean, do not start the thread to process the charts
25
+ * (default: false) */
26
+/*global netdataErrorCallback *//* function, callback to be called when the dashboard encounters an error
27
+ * (default: null) */
28
+/*global netdataRegistry:true *//* boolean, use the netdata registry
29
+ * (default: false) */
30
+/*global netdataNoRegistry *//* boolean, included only for compatibility with existing custom dashboard
31
+ * (obsolete - do not use this any more) */
32
+/*global netdataRegistryCallback *//* function, callback that will be invoked with one param: the URLs from the registry
33
+ * (default: null) */
34
+/*global netdataShowHelp:true *//* boolean, disable charts help
35
+ * (default: true) */
36
+/*global netdataShowAlarms:true *//* boolean, enable alarms checks and notifications
37
+ * (default: false) */
38
+/*global netdataRegistryAfterMs:true *//* ms, delay registry use at started
39
+ * (default: 1500) */
40
+/*global netdataCallback *//* function, callback to be called when netdata is ready to start
41
+ * (default: null)
42
+ * netdata will be running while this is called
43
+ * (call NETDATA.pause to stop it) */
44
+/*global netdataPrepCallback *//* function, callback to be called before netdata does anything else
45
+ * (default: null) */
46
+/*global netdataServer *//* string, the URL of the netdata server to use
47
+ * (default: the URL the page is hosted at) */
48
49
// ----------------------------------------------------------------------------
50
// global namespace