summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeah (ctucx) <leah@ctu.cx>2021-03-07 16:57:36 +0100
committerLeah (ctucx) <leah@ctu.cx>2021-03-07 16:57:36 +0100
commit5e30210d41733571eaa2653f50ecfc869faace89 (patch)
treeef3078f89cff74b5ffbe015c8f0542424bdcbfcf
parenta6b575088975f5a7f8d4d322d5270d65c3171258 (diff)
downloadwebmusic-nginx-5e30210d41733571eaa2653f50ecfc869faace89.tar.gz
webmusic-nginx-5e30210d41733571eaa2653f50ecfc869faace89.tar.bz2
webmusic-nginx-5e30210d41733571eaa2653f50ecfc869faace89.zip
webmusic.js: use strict mode
-rw-r--r--webmusic.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/webmusic.js b/webmusic.js
index 0507a4d..e290c80 100644
--- a/webmusic.js
+++ b/webmusic.js
@@ -1,3 +1,5 @@
+'use strict';
+
let audioPlayer = new Audio();
let selectedItem = 0;
let playingItem = 0;