Skip to content

Commit d9a6948

Browse files
committed
Added new 2016 header
1 parent 953c42b commit d9a6948

File tree

9 files changed

+66
-17
lines changed

9 files changed

+66
-17
lines changed

src/traces/box/calc.js

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* Copyright 2012-2016, Plotly, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
'use strict';
210

311
var isNumeric = require('fast-isnumeric');

src/traces/box/defaults.js

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* Copyright 2012-2016, Plotly, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
'use strict';
210

311
var Lib = require('../../lib');

src/traces/box/hover.js

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* Copyright 2012-2016, Plotly, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
'use strict';
210

311
var Plotly = require('../../plotly');

src/traces/box/index.js

+10-15
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,11 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9-
109
'use strict';
1110

1211
var Plotly = require('../../plotly');
1312

14-
var boxes = {
15-
attributes: require('./attributes'),
16-
layoutAttributes: require('./layout_attributes'),
17-
supplyDefaults: require('./defaults'),
18-
supplyLayoutDefaults: require('./layout_defaults'),
19-
calc: require('./calc'),
20-
setPositions: require('./set_positions'),
21-
plot: require('./plot'),
22-
style: require('./style'),
23-
hoverPoints: require('./hover')
24-
};
25-
26-
Plotly.Plots.register(boxes, 'box',
13+
Plotly.Plots.register(exports, 'box',
2714
['cartesian', 'symbols', 'oriented', 'box', 'showLegend'], {
2815
description: [
2916
'In vertical (horizontal) box plots,',
@@ -41,4 +28,12 @@ Plotly.Plots.register(boxes, 'box',
4128
].join(' ')
4229
});
4330

44-
module.exports = boxes;
31+
exports.attributes = require('./attributes');
32+
exports.layoutAttributes = require('./layout_attributes');
33+
exports.supplyDefaults = require('./defaults');
34+
exports.supplyLayoutDefaults = require('./layout_defaults');
35+
exports.calc = require('./calc');
36+
exports.setPositions = require('./set_positions');
37+
exports.plot = require('./plot');
38+
exports.style = require('./style');
39+
exports.hoverPoints = require('./hover');

src/traces/box/layout_attributes.js

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9-
109
module.exports = {
1110
boxmode: {
1211
valType: 'enumerated',

src/traces/box/layout_defaults.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
/**
2+
* Copyright 2012-2016, Plotly, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
'use strict';
210

311
var Plots = require('../../plots/plots');
412
var Lib = require('../../lib');
5-
613
var layoutAttributes = require('./layout_attributes');
714

815
module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) {

src/traces/box/plot.js

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* Copyright 2012-2016, Plotly, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
'use strict';
210

311
var d3 = require('d3');

src/traces/box/set_positions.js

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* Copyright 2012-2016, Plotly, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
'use strict';
210

311
var Plotly = require('../../plotly');

src/traces/box/style.js

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* Copyright 2012-2016, Plotly, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
'use strict';
210

311
var d3 = require('d3');

0 commit comments

Comments
 (0)