Commit e9dd3333 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

eslint-fix

parent a7a504b0
...@@ -37,8 +37,8 @@ export default { ...@@ -37,8 +37,8 @@ export default {
$('.project-refs-target-form').hide(); $('.project-refs-target-form').hide();
} }
}, },
} },
} };
</script> </script>
<template> <template>
......
...@@ -36,7 +36,6 @@ const RepoEditor = { ...@@ -36,7 +36,6 @@ const RepoEditor = {
const newModel = this.monaco.editor.createModel(this.blobRaw, languageID); const newModel = this.monaco.editor.createModel(this.blobRaw, languageID);
this.monacoInstance.setModel(newModel); this.monacoInstance.setModel(newModel);
}).catch(Helper.loadingError); }).catch(Helper.loadingError);
}, },
...@@ -80,7 +79,7 @@ const RepoEditor = { ...@@ -80,7 +79,7 @@ const RepoEditor = {
dialog: { dialog: {
handler(obj) { handler(obj) {
let newObj = obj; const newObj = obj;
if (newObj.status) { if (newObj.status) {
newObj.status = false; newObj.status = false;
this.openedFiles.map((file) => { this.openedFiles.map((file) => {
......
...@@ -9,7 +9,7 @@ export default { ...@@ -9,7 +9,7 @@ export default {
computed: { computed: {
html() { html() {
return this.activeFile.html; return this.activeFile.html;
} },
}, },
watch: { watch: {
...@@ -17,9 +17,9 @@ export default { ...@@ -17,9 +17,9 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
$(this.$el).find('.file-content').syntaxHighlight(); $(this.$el).find('.file-content').syntaxHighlight();
}); });
} },
} },
} };
</script> </script>
<template> <template>
......
...@@ -180,8 +180,8 @@ const RepoHelper = { ...@@ -180,8 +180,8 @@ const RepoHelper = {
Store.prevURL = Service.blobURLtoParentTree(Service.url); Store.prevURL = Service.blobURLtoParentTree(Service.url);
} }
}).catch((e) => { }).catch((e) => {
console.log(e) console.log(e);
RepoHelper.loadingError() RepoHelper.loadingError();
}); });
}, },
......
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