Skip to content
Snippets Groups Projects
Commit 8dad7d8e authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Remove extra parens

parent a18ea5a9
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,7 @@ const spriteUpload = function (fileData, fileType, spriteName, storage, handleSp
case 'image/jpeg':
case 'image/gif': {
// Make a sprite from an image by making it a costume first
costumeUpload(fileData, fileType, storage, (vmCostumes => {
costumeUpload(fileData, fileType, storage, vmCostumes => {
vmCostumes.forEach((costume, i) => {
costume.name = `${spriteName}${i + 1}`;
});
......@@ -231,7 +231,7 @@ const spriteUpload = function (fileData, fileType, spriteName, storage, handleSp
randomizeSpritePosition(newSprite);
// TODO probably just want sprite upload to handle this object directly
handleSprite(JSON.stringify(newSprite));
}));
});
return;
}
default: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment