mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 23:03:09 +02:00
chore: lint
This commit is contained in:
parent
c7e4bc6303
commit
87d7dee620
2 changed files with 5 additions and 4 deletions
|
@ -90,8 +90,8 @@ player.value.load(url).then((result) => {
|
||||||
player.value.play(buffer);
|
player.value.play(buffer);
|
||||||
progress.value!.max = player.value.duration();
|
progress.value!.max = player.value.duration();
|
||||||
display();
|
display();
|
||||||
} catch (e) {
|
} catch (err) {
|
||||||
console.warn(e);
|
console.warn(err);
|
||||||
}
|
}
|
||||||
player.value.stop();
|
player.value.stop();
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
|
@ -128,8 +128,8 @@ function stop(noDisplayUpdate = false) {
|
||||||
try {
|
try {
|
||||||
player.value.play(buffer);
|
player.value.play(buffer);
|
||||||
display();
|
display();
|
||||||
} catch (e) {
|
} catch (err) {
|
||||||
console.warn(e);
|
console.warn(err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
player.value.stop();
|
player.value.stop();
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
/* global libopenmpt UTF8ToString writeAsciiToMemory */
|
/* global libopenmpt UTF8ToString writeAsciiToMemory */
|
||||||
|
/* eslint-disable */
|
||||||
|
|
||||||
const ChiptuneAudioContext = window.AudioContext || window.webkitAudioContext;
|
const ChiptuneAudioContext = window.AudioContext || window.webkitAudioContext;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue