Skip to content

Commit

Permalink
Run [email protected] linter on bnplay-audio-api.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Mar 7, 2024
1 parent 9ed67da commit 5afe78d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bnplay-audio-api.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
async function bnp_getSampleFromWeb() {
response = await fetch(
// This URL has CORS enabled
"https://dmotte.github.io/bnplay/bn-sample.flac"
"https://dmotte.github.io/bnplay/bn-sample.flac",
);

if (!response.ok) throw new Error("HTTP error " + response.status);
Expand Down Expand Up @@ -81,7 +81,7 @@

req.onerror = (event) => {
reject(
`Error getting item ${itemName} from store ${storeName} from IndexedDB database ${dbName}`
`Error getting item ${itemName} from store ${storeName} from IndexedDB database ${dbName}`,
);
};

Expand All @@ -104,7 +104,7 @@

async function bnp_load() {
bnp_audioData = await bnp_audioCtx.decodeAudioData(
await bnp_getSample()
await bnp_getSample(),
);
}

Expand Down

0 comments on commit 5afe78d

Please sign in to comment.