Skip to content

Commit 971351c

Browse files
committed
properly scaffold streamtube trace module
1 parent 38a1310 commit 971351c

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

lib/index-gl3d.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Plotly.register([
1414
require('./scatter3d'),
1515
require('./surface'),
1616
require('./mesh3d'),
17-
require('./cone')
17+
require('./cone'),
18+
require('./streamtube')
1819
]);
1920

2021
module.exports = Plotly;

lib/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ Plotly.register([
2727
require('./surface'),
2828
require('./mesh3d'),
2929
require('./cone'),
30-
31-
require('../src/traces/streamtube'),
30+
require('./streamtube'),
3231

3332
require('./scattergeo'),
3433
require('./choropleth'),

lib/streamtube.js

Lines changed: 11 additions & 0 deletions
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/streamtube');

0 commit comments

Comments
 (0)