mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Fix eslint-disable-line
This commit is contained in:
parent
4778ab8d4f
commit
9eaf67b504
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class Scratch3MusicBlocks {
|
|||
// Check for newer promise-based API
|
||||
if (context.decodeAudioData.length === 1) {
|
||||
return context.decodeAudioData(soundAsset.data.buffer);
|
||||
} else { // eslint-disable no-else-return
|
||||
} else { // eslint-disable-line no-else-return
|
||||
// Fall back to callback API
|
||||
return new Promise((resolve, reject) =>
|
||||
context.decodeAudioData(soundAsset.data.buffer,
|
||||
|
|
Loading…
Reference in a new issue