aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-06-03 12:12:05 +0200
committerHampusM <hampus@hampusmat.com>2021-06-03 12:12:05 +0200
commit5e131ddb475de7cd9821c4a0245fc5c64035a6b4 (patch)
tree52954ac345ebd6905af9f9ed95ab1b72c4e02a73 /src/frontend
parent4b0787b12bff23b3f0873ee0dd3d8f0e3f9fb0af (diff)
Added missing semicolons in the CommitPatch component
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/components/CommitPatch.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/components/CommitPatch.vue b/src/frontend/components/CommitPatch.vue
index 53edeb9..334c0ba 100644
--- a/src/frontend/components/CommitPatch.vue
+++ b/src/frontend/components/CommitPatch.vue
@@ -85,13 +85,13 @@ export default {
if(hunk['new'].includes(line_index)) {
first_td = h("td", "");
second_td = h("td", { class: "line-highlight-new" }, Number(hunk["new_start"]) + line_index - new_offset);
- third_td = h("td", { class: "line-new" }, "+")
+ third_td = h("td", { class: "line-new" }, "+");
deleted_offset++;
}
else if(hunk['deleted'].includes(line_index)) {
first_td = h("td", Number(hunk["old_start"]) + line_index - deleted_offset);
second_td = h("td", { class: "line-highlight-deleted" });
- third_td = h("td", { class: "line-deleted" }, "-")
+ third_td = h("td", { class: "line-deleted" }, "-");
new_offset++;
}
else {
@@ -145,5 +145,5 @@ export default {
return () => h("div", { class: "commit-file" }, commit_patch);
}
-}
+};
</script> \ No newline at end of file