Skip to content

Commit 17e27eb

Browse files
committed
Reformat js with prettier
1 parent d01b0ca commit 17e27eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/wasm/site/show/audio-player.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function AudioPlayer(...urlList) {
1616
this.buffers = await Promise.all(promises);
1717
};
1818

19-
(this.play = (soundId) => {
19+
((this.play = (soundId) => {
2020
if (!this.buffers) return;
2121
this.context.resume(); // For safari
2222
const source = this.context.createBufferSource();
@@ -42,5 +42,5 @@ export function AudioPlayer(...urlList) {
4242
// osc.connect(this.mediaStreamDestination);
4343
// https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaStreamDestination
4444
return this.mediaStreamDestination.stream;
45-
});
45+
}));
4646
}

0 commit comments

Comments
 (0)