aboutsummaryrefslogtreecommitdiff
path: root/webAO/components/audioChannels.js
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2023-09-20 11:52:34 +0200
committerstonedDiscord <Tukz@gmx.de>2023-09-20 11:52:34 +0200
commit5fc20f9dd53fe4d32be08d538782baa47c67853c (patch)
treeba0994a4c3a7b090d3732f7381b96e92ee365249 /webAO/components/audioChannels.js
parent4db738e6e5e3287c3621501a01988ab90eed447e (diff)
make eslint a lot happier
Diffstat (limited to 'webAO/components/audioChannels.js')
-rw-r--r--webAO/components/audioChannels.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/webAO/components/audioChannels.js b/webAO/components/audioChannels.js
index 1979653..80bdb4f 100644
--- a/webAO/components/audioChannels.js
+++ b/webAO/components/audioChannels.js
@@ -1,13 +1,13 @@
/**
- *
+ *
* @param {number} amountOfChannels Amount of Blips to put on page
*/
const createAudioChannels = (amountOfChannels) => {
- for (let i = 0; i < amountOfChannels; i++) {
- const audioChannel = document.createElement('audio')
- audioChannel.setAttribute('class', 'audioChannel')
- document.body.appendChild(audioChannel)
- }
-}
-createAudioChannels(4)
-export default createAudioChannels
+ for (let i = 0; i < amountOfChannels; i++) {
+ const audioChannel = document.createElement('audio');
+ audioChannel.setAttribute('class', 'audioChannel');
+ document.body.appendChild(audioChannel);
+ }
+};
+createAudioChannels(4);
+export default createAudioChannels;