Skip to content

Commit fa32a74

Browse files
committed
add lib/cone.js + add cone to gl3d bundle
1 parent 863b0da commit fa32a74

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

lib/cone.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* Copyright 2012-2018, 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+
9+
'use strict';
10+
11+
module.exports = require('../src/traces/cone');

lib/index-gl3d.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ var Plotly = require('./core');
1313
Plotly.register([
1414
require('./scatter3d'),
1515
require('./surface'),
16-
require('./mesh3d')
16+
require('./mesh3d'),
17+
require('./cone')
1718
]);
1819

1920
module.exports = Plotly;

lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Plotly.register([
2626
require('./scatter3d'),
2727
require('./surface'),
2828
require('./mesh3d'),
29-
require('../src/traces/cone'),
29+
require('./cone'),
3030

3131
require('./scattergeo'),
3232
require('./choropleth'),

0 commit comments

Comments
 (0)