Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
f55f1997
Commit
f55f1997
authored
May 01, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed eslint
parent
bec24d15
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
4 deletions
+0
-4
app/assets/javascripts/ide/stores/actions/file.js
app/assets/javascripts/ide/stores/actions/file.js
+0
-1
app/assets/javascripts/ide/stores/utils.js
app/assets/javascripts/ide/stores/utils.js
+0
-1
app/assets/javascripts/ide/stores/workers/files_decorator_worker.js
.../javascripts/ide/stores/workers/files_decorator_worker.js
+0
-2
No files found.
app/assets/javascripts/ide/stores/actions/file.js
View file @
f55f1997
...
@@ -119,7 +119,6 @@ export const getRawFileData = ({ state, commit, dispatch }, { path, baseSha }) =
...
@@ -119,7 +119,6 @@ export const getRawFileData = ({ state, commit, dispatch }, { path, baseSha }) =
export
const
changeFileContent
=
({
state
,
commit
,
dispatch
,
getters
},
{
path
,
content
})
=>
{
export
const
changeFileContent
=
({
state
,
commit
,
dispatch
,
getters
},
{
path
,
content
})
=>
{
const
file
=
state
.
entries
[
path
];
const
file
=
state
.
entries
[
path
];
const
stagedFile
=
getters
.
getStagedFile
(
path
);
commit
(
types
.
UPDATE_FILE_CONTENT
,
{
path
,
content
});
commit
(
types
.
UPDATE_FILE_CONTENT
,
{
path
,
content
});
const
indexOfChangedFile
=
state
.
changedFiles
.
findIndex
(
f
=>
f
.
path
===
path
);
const
indexOfChangedFile
=
state
.
changedFiles
.
findIndex
(
f
=>
f
.
path
===
path
);
...
...
app/assets/javascripts/ide/stores/utils.js
View file @
f55f1997
...
@@ -83,7 +83,6 @@ export const decorateData = entity => {
...
@@ -83,7 +83,6 @@ export const decorateData = entity => {
opened
,
opened
,
active
,
active
,
parentTreeUrl
,
parentTreeUrl
,
parentPath
,
changed
,
changed
,
renderError
,
renderError
,
content
,
content
,
...
...
app/assets/javascripts/ide/stores/workers/files_decorator_worker.js
View file @
f55f1997
...
@@ -29,7 +29,6 @@ self.addEventListener('message', e => {
...
@@ -29,7 +29,6 @@ self.addEventListener('message', e => {
url
:
`/
${
projectId
}
/tree/
${
branchId
}
/
${
folderPath
}
/`
,
url
:
`/
${
projectId
}
/tree/
${
branchId
}
/
${
folderPath
}
/`
,
type
:
'
tree
'
,
type
:
'
tree
'
,
parentTreeUrl
:
parentFolder
?
parentFolder
.
url
:
`/
${
projectId
}
/tree/
${
branchId
}
/`
,
parentTreeUrl
:
parentFolder
?
parentFolder
.
url
:
`/
${
projectId
}
/tree/
${
branchId
}
/`
,
parentPath
:
parentFolder
?
parentFolder
.
path
:
null
,
tempFile
,
tempFile
,
changed
:
tempFile
,
changed
:
tempFile
,
opened
:
tempFile
,
opened
:
tempFile
,
...
@@ -68,7 +67,6 @@ self.addEventListener('message', e => {
...
@@ -68,7 +67,6 @@ self.addEventListener('message', e => {
url
:
`/
${
projectId
}
/blob/
${
branchId
}
/
${
path
}
`
,
url
:
`/
${
projectId
}
/blob/
${
branchId
}
/
${
path
}
`
,
type
:
'
blob
'
,
type
:
'
blob
'
,
parentTreeUrl
:
fileFolder
?
fileFolder
.
url
:
`/
${
projectId
}
/blob/
${
branchId
}
`
,
parentTreeUrl
:
fileFolder
?
fileFolder
.
url
:
`/
${
projectId
}
/blob/
${
branchId
}
`
,
parentPath
:
fileFolder
?
fileFolder
.
path
:
null
,
tempFile
,
tempFile
,
changed
:
tempFile
,
changed
:
tempFile
,
content
,
content
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment