mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-07 02:54:38 -04:00
Update jsdoc
This commit is contained in:
parent
33f436811c
commit
2d6eaae01e
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ var log = require('../util/log');
|
|||
* @property {string} md5 - the MD5 and extension of the sound to be loaded.
|
||||
* @property {Buffer} data - sound data will be written here once loaded.
|
||||
* @param {!Runtime} runtime - Scratch runtime, used to access the storage module.
|
||||
* @returns {?Promise} - a promise which will resolve after sound is loaded, or null on error.
|
||||
* @returns {!Promise} - a promise which will resolve after sound is loaded
|
||||
*/
|
||||
var loadSound = function (sound, runtime) {
|
||||
if (!runtime.storage) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue