Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
logging-scratch-gui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Goessmann
logging-scratch-gui
Commits
8dad7d8e
Commit
8dad7d8e
authored
6 years ago
by
Paul Kaplan
Browse files
Options
Downloads
Patches
Plain Diff
Remove extra parens
parent
a18ea5a9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/file-uploader.js
+2
-2
2 additions, 2 deletions
src/lib/file-uploader.js
with
2 additions
and
2 deletions
src/lib/file-uploader.js
+
2
−
2
View file @
8dad7d8e
...
...
@@ -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
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment