Commit e9dd3333 authored by Luke Bennett's avatar Luke Bennett

eslint-fix

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