Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 7ab4134

Browse files
author
Patrick Thomson
committed
Cleanup: add missing semicolons in visualization JS.
Self-explanatory (Emacs whines at you when missing them).
1 parent df054b3 commit 7ab4134

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stack-graphs/src/visualization/visualization.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class StackGraph {
3737
compute_node_data() {
3838
for (let i in graph.nodes) {
3939
const node = graph.nodes[i];
40-
node.paths = []
40+
node.paths = [];
4141
this.ID[this.node_to_id_str(node)] = i;
4242
this.N.push(node);
4343
}
@@ -135,7 +135,7 @@ class StackGraph {
135135
// render UI
136136
this.render_help();
137137
this.render_tooltip();
138-
this.render_graph()
138+
this.render_graph();
139139

140140
// pan & zoom
141141
let zoom = d3.zoom()
@@ -153,7 +153,7 @@ class StackGraph {
153153
this.paths_keypress(e);
154154
this.tooltip_keypress(e);
155155
this.help_keypress(e);
156-
})
156+
});
157157
}
158158

159159
// ------------------------------------------------------------------------------------------------
@@ -220,7 +220,7 @@ class StackGraph {
220220
.attr("id", (d) => this.edge_to_id_str(d.data));
221221
edges.append("path")
222222
.attr("id", (d) => this.edge_to_id_str(d.data) + ":path")
223-
.attr("d", ({ points }) => line(points))
223+
.attr("d", ({ points }) => line(points));
224224
let edge_labels = edges.append("text")
225225
.append("textPath")
226226
.attr("xlink:href", (d) => `#${this.edge_to_id_str(d.data)}:path`)

0 commit comments

Comments
 (0)