diff options
author | moisseev <moiseev@mezonplus.ru> | 2023-11-14 12:57:46 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2023-11-14 12:57:46 +0300 |
commit | 4bc813111e219f8473c9b97e096e5936534179dd (patch) | |
tree | 2c61ea9781f5e0b0d14907af3a4b188e610396d7 | |
parent | 899f9957dfed93da4eab658fb06caddfb6136fd6 (diff) | |
download | rspamd-4bc813111e219f8473c9b97e096e5936534179dd.tar.gz rspamd-4bc813111e219f8473c9b97e096e5936534179dd.zip |
[Minor] Use modern ESLint globals definition
-rw-r--r-- | interface/js/app/graph.js | 2 | ||||
-rw-r--r-- | interface/js/app/history.js | 2 | ||||
-rw-r--r-- | interface/js/app/rspamd.js | 2 | ||||
-rw-r--r-- | interface/js/app/stats.js | 2 | ||||
-rw-r--r-- | interface/js/app/symbols.js | 2 | ||||
-rw-r--r-- | interface/js/main.js | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/interface/js/app/graph.js b/interface/js/app/graph.js index 3e4983a71..16fb338a2 100644 --- a/interface/js/app/graph.js +++ b/interface/js/app/graph.js @@ -23,7 +23,7 @@ THE SOFTWARE. */ -/* global d3:false, FooTable:false */ +/* global d3, FooTable */ define(["jquery", "d3evolution", "d3pie", "footable"], function ($, D3Evolution, D3Pie) { diff --git a/interface/js/app/history.js b/interface/js/app/history.js index a00d45eee..3770f9457 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -22,7 +22,7 @@ THE SOFTWARE. */ -/* global d3:false FooTable:false */ +/* global d3, FooTable */ define(["jquery", "footable"], function ($) { diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js index eca4a7dfe..634dfcd1d 100644 --- a/interface/js/app/rspamd.js +++ b/interface/js/app/rspamd.js @@ -23,7 +23,7 @@ THE SOFTWARE. */ -/* global jQuery:false, FooTable:false, Visibility:false */ +/* global jQuery, FooTable, Visibility */ define(["jquery", "visibility", "nprogress", "stickytabs", "app/stats", "app/graph", "app/config", "app/symbols", "app/history", "app/upload", "app/selectors"], diff --git a/interface/js/app/stats.js b/interface/js/app/stats.js index a00b99b62..d023f955e 100644 --- a/interface/js/app/stats.js +++ b/interface/js/app/stats.js @@ -22,7 +22,7 @@ THE SOFTWARE. */ -/* global d3:false */ +/* global d3 */ define(["jquery", "d3pie"], function ($, D3Pie) { diff --git a/interface/js/app/symbols.js b/interface/js/app/symbols.js index 5f6d7903b..ed9966b34 100644 --- a/interface/js/app/symbols.js +++ b/interface/js/app/symbols.js @@ -22,7 +22,7 @@ THE SOFTWARE. */ -/* global FooTable:false */ +/* global FooTable */ define(["jquery", "footable"], function ($) { diff --git a/interface/js/main.js b/interface/js/main.js index 4182bb2bc..3b0b8de15 100644 --- a/interface/js/main.js +++ b/interface/js/main.js @@ -1,4 +1,4 @@ -/* global d3:true, require:false, requirejs:false */ // eslint-disable-line no-unused-vars +/* global d3:writable, require, requirejs */ // eslint-disable-line no-unused-vars requirejs.config({ baseUrl: "js/lib", |