Skip to content

Commit

Permalink
Merge pull request #1090 from fsih/renameGetCostume
Browse files Browse the repository at this point in the history
Rename getCostumeSvg to getCostume
  • Loading branch information
fsih committed Apr 26, 2018
2 parents cde801b + fc36ea5 commit 5f20609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/virtual-machine.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 5f20609

Please sign in to comment.