Skip to content

Commit 4898355

Browse files
committed
Linting
1 parent b11e8bc commit 4898355

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/traces/sankey/render.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ function sankeyModel(layout, d, traceIndex) {
3636
var nodePad = trace.node.pad;
3737
var nodeThickness = trace.node.thickness;
3838
var nodeAlign = {
39-
'justify': d3Sankey.sankeyJustify,
40-
'left': d3Sankey.sankeyLeft,
41-
'right': d3Sankey.sankeyRight,
42-
'center': d3Sankey.sankeyCenter
39+
justify: d3Sankey.sankeyJustify,
40+
left: d3Sankey.sankeyLeft,
41+
right: d3Sankey.sankeyRight,
42+
center: d3Sankey.sankeyCenter
4343
}[trace.node.align];
4444

4545
var width = layout.width * (domain.x[1] - domain.x[0]);

0 commit comments

Comments
 (0)