Fix eslint-disable-line

This commit is contained in:
Eric Rosenbaum 2018-01-22 10:27:16 -05:00
parent 4778ab8d4f
commit 9eaf67b504

View file

@ -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,