Update jsdoc

This commit is contained in:
Paul Kaplan 2017-04-03 16:00:58 -04:00
parent 33f436811c
commit 2d6eaae01e

View file

@ -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) {