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
259e5440
Commit
259e5440
authored
Aug 07, 2018
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ESLint Fixes
parent
e70d06df
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
app/assets/javascripts/diffs/components/app.vue
app/assets/javascripts/diffs/components/app.vue
+0
-1
app/assets/javascripts/diffs/store/actions.js
app/assets/javascripts/diffs/store/actions.js
+0
-1
app/assets/javascripts/diffs/store/mutations.js
app/assets/javascripts/diffs/store/mutations.js
+1
-1
No files found.
app/assets/javascripts/diffs/components/app.vue
View file @
259e5440
...
...
@@ -118,7 +118,6 @@ export default {
fetchData
()
{
this
.
fetchDiffFiles
()
.
then
(()
=>
{
console
.
log
(
'
Done
'
);
requestIdleCallback
(
this
.
startRenderDiffsQueue
,
{
timeout
:
1000
});
})
.
catch
(()
=>
{
...
...
app/assets/javascripts/diffs/store/actions.js
View file @
259e5440
...
...
@@ -38,7 +38,6 @@ export const startRenderDiffsQueue = ({ state, commit }) => {
});
requestIdleCallback
(
()
=>
{
console
.
log
(
'
CALL NEXT
'
);
checkItem
();
},
{
timeout
:
1000
},
...
...
app/assets/javascripts/diffs/store/mutations.js
View file @
259e5440
...
...
@@ -17,7 +17,7 @@ export default {
[
types
.
SET_DIFF_DATA
](
state
,
data
)
{
const
diffData
=
convertObjectPropsToCamelCase
(
data
,
{
deep
:
true
});
let
showingLines
=
0
;
diffData
.
diffFiles
.
map
(
file
=>
{
diffData
.
diffFiles
.
forEach
(
file
=>
{
if
(
file
.
highlightedDiffLines
)
{
showingLines
+=
file
.
parallelDiffLines
.
length
;
Object
.
assign
(
file
,
{
...
...
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