Skip to content

Commit fb9479a

Browse files
committedFeb 26, 2019
fix typo
1 parent 7094887 commit fb9479a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/traces/sankey/calc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function convertToD3Sankey(trace) {
6262
// Process links
6363
var groupedLinks = {
6464
source: [],
65-
target: []
65+
target: []
6666
};
6767
for(i = 0; i < linkSpec.value.length; i++) {
6868
var val = linkSpec.value[i];

‎test/jasmine/tests/sankey_test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -493,12 +493,12 @@ describe('sankey tests', function() {
493493
.then(function() {
494494
expect(gd.calcdata[0][0].circular).toBe(false);
495495

496-
// Group two nodes to create circularity
496+
// Group two nodes that creates a circularity
497497
return Plotly.restyle(gd, 'node.groups', [[[1, 3]]]);
498498
})
499499
.then(function() {
500500
expect(gd.calcdata[0][0].circular).toBe(true);
501-
// Group two nodes to that do not create circularity
501+
// Group two nodes that do not create a circularity
502502
return Plotly.restyle(gd, 'node.groups', [[[1, 4]]]);
503503
})
504504
.then(function() {

0 commit comments

Comments
 (0)
Please sign in to comment.