Skip to content

Commit 151f604

Browse files
removed the a & b parameters for separation, since they are not used in the function, which is now just returning a constant (all in order to pass the "no unused vars" build check
1 parent a2ec657 commit 151f604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/basic-tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default Ember.Component.extend({
124124
// want to change the orientation of the graph from top-down to left-right.
125125
// To do that we reverse X and Y for calculations and translations.
126126
let graph = cluster()
127-
.separation((a,b) => 8)
127+
.separation(() => 8)
128128
.nodeSize([9, 280]);
129129

130130
function update(source) {

0 commit comments

Comments
 (0)