diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-07-08 12:21:37 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-07-08 12:21:37 +0300 |
commit | 4d2b29abcbe0f61cdf89af0d92cec0003d325a81 (patch) | |
tree | 2498c46e3b85d176c9b35e88c248e07b5f16b63f /interface/js/main.js | |
parent | 28401018a84cb1d526ab334ecdf44584a064bb6a (diff) | |
download | rspamd-4d2b29abcbe0f61cdf89af0d92cec0003d325a81.tar.gz rspamd-4d2b29abcbe0f61cdf89af0d92cec0003d325a81.zip |
[Test] Specify JS Globals
Diffstat (limited to 'interface/js/main.js')
-rw-r--r-- | interface/js/main.js | 4 |
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 |