Add global comments to js for Codacy (#5335)
Chris Akritidis committed
Feb 5, 2019 at 17:10 UTC
abd29a391df21a1700079902bb5ae581f18c7708
5 files changed
+21
web/gui/dashboard.js
+9
@@ -1704,6 +1704,8 @@ NETDATA.timeout = {
1704
};
1705
1706
NETDATA.timeout.init();
1707
+// Codacy declarations
1708
+/* global netdataTheme */
1709
1710
NETDATA.themes = {
1711
white: {
@@ -1796,6 +1798,10 @@ NETDATA.colors = NETDATA.themes.current.colors;
1798
//NETDATA.colors = [ '#5DA5DA', '#F15854', '#FAA43A', '#60BD68', '#F17CB0', '#B2912F', '#B276B2', '#DECF3F', '#4D4D4D' ];
1799
// dygraph
1800
1801
+// Codacy declarations
1802
+/* global smoothPlotter */
1803
+/* global Dygraph */
1804
+
1805
NETDATA.dygraph = {
1806
smooth: false
1807
};
@@ -4980,6 +4986,9 @@ NETDATA.commonColors = {
4986
4987
// *** src/dashboard.js/main.js
4988
4989
+// Codacy declarations
4990
+/* global clipboard */
4991
+
4992
if (NETDATA.options.debug.main_loop) {
4993
console.log('welcome to NETDATA');
4994
}
web/gui/dashboard_info_custom_example.js
+3
@@ -21,6 +21,9 @@
21
*
22
*/
23
24
+// Codacy declarations
25
+/* global customDashboard */
26
+
27
// ----------------------------------------------------------------------------
28
// MENU
29
//
web/gui/src/dashboard.js/charting/dygraph.js
+4
@@ -1,5 +1,9 @@
1
// dygraph
2
3
+// Codacy declarations
4
+/* global smoothPlotter */
5
+/* global Dygraph */
6
+
7
NETDATA.dygraph = {
8
smooth: false
9
};
web/gui/src/dashboard.js/main.js
+3
@@ -1,6 +1,9 @@
1
2
// *** src/dashboard.js/main.js
3
4
+// Codacy declarations
5
+/* global clipboard */
6
+
7
if (NETDATA.options.debug.main_loop) {
8
console.log('welcome to NETDATA');
9
}
web/gui/src/dashboard.js/themes.js
+2
@@ -1,3 +1,5 @@
1
+// Codacy declarations
2
+/* global netdataTheme */
3
4
NETDATA.themes = {
5
white: {