mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Clarify @TODO comment about extension status indicator
This commit is contained in:
parent
ba529ad50b
commit
c3a72560f9
1 changed files with 2 additions and 4 deletions
|
@ -45,9 +45,7 @@ class Scratch3MusicBlocks {
|
|||
/**
|
||||
* Download and decode the full set of drum sounds, and store the audio buffers
|
||||
* in the drum buffers array.
|
||||
* @TODO: Also load the instrument sounds here (rename this fn), and use Promise.all
|
||||
* to detect that all the assets have loaded in order to update the extension status
|
||||
* indicator.
|
||||
* @TODO: Also load the instrument sounds here (rename this fn)
|
||||
*/
|
||||
_loadAllDrumSounds () {
|
||||
const loadingPromises = [];
|
||||
|
@ -56,7 +54,7 @@ class Scratch3MusicBlocks {
|
|||
loadingPromises.push(promise);
|
||||
});
|
||||
Promise.all(loadingPromises).then(() => {
|
||||
// done!
|
||||
// @TODO: Update the extension status indicator.
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue