« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static
diff options
context:
space:
mode:
Diffstat (limited to 'src/static')
-rw-r--r--src/static/client.js2
-rw-r--r--src/static/lazy-loading.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/static/client.js b/src/static/client.js
index e9286ab0..b5ed6868 100644
--- a/src/static/client.js
+++ b/src/static/client.js
@@ -1,3 +1,5 @@
+/* eslint-env browser */
+
 // This is the JS file that gets loaded on the client! It's only really used for
 // the random track feature right now - the idea is we only use it for stuff
 // that cannot 8e done at static-site compile time, 8y its fundamentally
diff --git a/src/static/lazy-loading.js b/src/static/lazy-loading.js
index b5b0a368..b04ad7c2 100644
--- a/src/static/lazy-loading.js
+++ b/src/static/lazy-loading.js
@@ -1,3 +1,5 @@
+/* eslint-env browser */
+
 // Lazy loading! Roll your own. Woot.
 // This file includes a 8unch of fall8acks and stuff like that, and is written
 // with fairly Olden JavaScript(TM), so as to work on pretty much any 8rowser