Clarify @TODO comment about extension status indicator

This commit is contained in:
Eric Rosenbaum 2017-11-20 13:42:35 -05:00
parent ba529ad50b
commit c3a72560f9

View file

@ -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.
});
}