Skip to content

Commit e236038

Browse files
committed
fix typo in comments
1 parent 44b7677 commit e236038

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: src/traces/histogram/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* Histogram has its own attribute, defaults and calc steps,
1414
* but uses bar's plot to display
15-
* and bar's crossTraceCalc (formally known as setPositions) for stacking and grouping
15+
* and bar's crossTraceCalc (formerly known as setPositions) for stacking and grouping
1616
*/
1717

1818
/**

Diff for: test/jasmine/tests/bar_test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ describe('Bar.supplyDefaults', function() {
171171
});
172172
});
173173

174-
describe('bar calc / crossTraceCalc (formally known as setPositions)', function() {
174+
describe('bar calc / crossTraceCalc (formerly known as setPositions)', function() {
175175
'use strict';
176176

177177
it('should fill in calc pt fields (stack case)', function() {
@@ -337,7 +337,7 @@ describe('Bar.calc', function() {
337337
});
338338
});
339339

340-
describe('Bar.crossTraceCalc (formally known as setPositions)', function() {
340+
describe('Bar.crossTraceCalc (formerly known as setPositions)', function() {
341341
'use strict';
342342

343343
it('should guard against invalid offset items', function() {

0 commit comments

Comments
 (0)