chore: lint

This commit is contained in:
Mar0xy 2023-11-02 23:32:43 +01:00
parent c7e4bc6303
commit 87d7dee620
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
2 changed files with 5 additions and 4 deletions

View file

@ -90,8 +90,8 @@ player.value.load(url).then((result) => {
player.value.play(buffer);
progress.value!.max = player.value.duration();
display();
} catch (e) {
console.warn(e);
} catch (err) {
console.warn(err);
}
player.value.stop();
}).catch((error) => {
@ -128,8 +128,8 @@ function stop(noDisplayUpdate = false) {
try {
player.value.play(buffer);
display();
} catch (e) {
console.warn(e);
} catch (err) {
console.warn(err);
}
}
player.value.stop();

View file

@ -1,4 +1,5 @@
/* global libopenmpt UTF8ToString writeAsciiToMemory */
/* eslint-disable */
const ChiptuneAudioContext = window.AudioContext || window.webkitAudioContext;