From 5606b067e590704772a4a7d7570b4d7ff28388cf Mon Sep 17 00:00:00 2001 From: DD Date: Thu, 31 Aug 2017 13:41:47 -0400 Subject: [PATCH] More comment fixes --- src/virtual-machine.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. } /**