From fc36ea5208b46295908ae37f957f4330929ea40c Mon Sep 17 00:00:00 2001 From: DD Date: Thu, 26 Apr 2018 13:36:51 -0400 Subject: [PATCH] Rename getCostumeSvg to getCostume --- src/virtual-machine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virtual-machine.js b/src/virtual-machine.js index 1e7a0b9e1..8d0445598 100644 --- a/src/virtual-machine.js +++ b/src/virtual-machine.js @@ -545,7 +545,7 @@ class VirtualMachine extends EventEmitter { * @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) { + getCostume (costumeIndex) { const id = this.editingTarget.getCostumes()[costumeIndex].assetId; if (id && this.runtime && this.runtime.storage && this.runtime.storage.get(id).dataFormat === 'svg') {