Commit 259e5440 authored by Tim Zallmann's avatar Tim Zallmann

ESLint Fixes

parent e70d06df
...@@ -118,7 +118,6 @@ export default { ...@@ -118,7 +118,6 @@ export default {
fetchData() { fetchData() {
this.fetchDiffFiles() this.fetchDiffFiles()
.then(() => { .then(() => {
console.log('Done');
requestIdleCallback(this.startRenderDiffsQueue, { timeout: 1000 }); requestIdleCallback(this.startRenderDiffsQueue, { timeout: 1000 });
}) })
.catch(() => { .catch(() => {
......
...@@ -38,7 +38,6 @@ export const startRenderDiffsQueue = ({ state, commit }) => { ...@@ -38,7 +38,6 @@ export const startRenderDiffsQueue = ({ state, commit }) => {
}); });
requestIdleCallback( requestIdleCallback(
() => { () => {
console.log('CALL NEXT');
checkItem(); checkItem();
}, },
{ timeout: 1000 }, { timeout: 1000 },
......
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
[types.SET_DIFF_DATA](state, data) { [types.SET_DIFF_DATA](state, data) {
const diffData = convertObjectPropsToCamelCase(data, { deep: true }); const diffData = convertObjectPropsToCamelCase(data, { deep: true });
let showingLines = 0; let showingLines = 0;
diffData.diffFiles.map(file => { diffData.diffFiles.forEach(file => {
if (file.highlightedDiffLines) { if (file.highlightedDiffLines) {
showingLines += file.parallelDiffLines.length; showingLines += file.parallelDiffLines.length;
Object.assign(file, { Object.assign(file, {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment