From 690a7b53a72ac71f9f76260fa50c634566c4e984 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 28 Nov 2022 23:25:05 -0400 Subject: divide things.js into modular files (hilariously) --- src/static/client.js | 2 ++ src/static/lazy-loading.js | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/static') diff --git a/src/static/client.js b/src/static/client.js index e9286ab..b5ed686 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 b5b0a36..b04ad7c 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 -- cgit 1.3.0-6-gf8a5