Skip to content

Commit db469d8

Browse files
committed
rename boxes / Boxes --> box / Box consistently with trace type
1 parent 1f0b92d commit db469d8

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

src/plotly.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ exports.ModeBar = require('./components/modebar');
5858
// traces
5959
exports.Scatter = require('./traces/scatter');
6060
exports.Bar = require('./traces/bar');
61-
exports.Boxes = require('./traces/boxes');
61+
exports.Box = require('./traces/box');
6262
exports.Heatmap = require('./traces/heatmap');
6363
exports.Histogram = require('./traces/histogram');
6464
exports.Histogram2d = require('./traces/histogram2d');
File renamed without changes.
File renamed without changes.

test/jasmine/tests/boxes_test.js renamed to test/jasmine/tests/box_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var Plotly = require('@src/plotly');
1+
var Box = require('@src/traces/box');
22

33
describe('Test boxes', function () {
44
'use strict';
@@ -9,7 +9,7 @@ describe('Test boxes', function () {
99

1010
var defaultColor = '#444';
1111

12-
var supplyDefaults = Plotly.Boxes.supplyDefaults;
12+
var supplyDefaults = Box.supplyDefaults;
1313

1414
beforeEach(function() {
1515
traceOut = {};

0 commit comments

Comments
 (0)