aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js/main.js')
-rw-r--r--interface/js/main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/interface/js/main.js b/interface/js/main.js
index af7c63b83..515645667 100644
--- a/interface/js/main.js
+++ b/interface/js/main.js
@@ -1,3 +1,5 @@
+/* global d3:false, require:false, requirejs:false */ // eslint-disable-line no-unused-vars
+
requirejs.config({
baseUrl: "js/lib",
paths: {
@@ -26,7 +28,7 @@ document.title = window.location.hostname +
" - Rspamd Web Interface";
define("d3.global", ["d3"], function (_) {
- d3 = _;
+ d3 = _; // eslint-disable-line no-global-assign
});
// Load main UI