diff --git a/src/virtual-machine.js b/src/virtual-machine.js index f6567066f..61afda386 100644 --- a/src/virtual-machine.js +++ b/src/virtual-machine.js @@ -363,7 +363,7 @@ class VirtualMachine extends EventEmitter { /** * Get an SVG string from storage. - * @param {int} costumeIndex - the index of the sound to be got. + * @param {int} costumeIndex - the index of the costume to be got. * @return {string} the costume's SVG string, or null if it's not an SVG costume. */ getCostumeSvg (costumeIndex) { @@ -390,9 +390,9 @@ class VirtualMachine extends EventEmitter { this.runtime.renderer.updateSVGSkin(costume.skinId, svg, rotationCenter); } - // TODO: Also update storage in addition to renderer. Without storage, if you switch + // @todo: Also update storage in addition to renderer. Without storage, if you switch // costumes and switch back, you will lose your changes in the paint editor. - // TODO: emitTargetsUpdate if we need to update the storage ID on the updated costume. + // @todo: emitTargetsUpdate if we need to update the storage ID on the updated costume. } /**