File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ var TRANSITION_DELAY = 500;
15
15
16
16
var noop = function ( ) { } ;
17
17
18
+ // until it is part of the main plotly.js bundle
19
+ Plotly . register (
20
+ require ( '@lib/scattermapbox' )
21
+ ) ;
22
+
18
23
Plotly . setPlotConfig ( {
19
24
mapboxAccessToken : MAPBOX_ACCESS_TOKEN
20
25
} ) ;
Original file line number Diff line number Diff line change 1
1
var Plotly = require ( '@lib/index' ) ;
2
2
var Lib = require ( '@src/lib' ) ;
3
3
4
+ // until it is part of the main plotly.js bundle
5
+ Plotly . register (
6
+ require ( '@lib/scattermapbox' )
7
+ ) ;
4
8
5
9
describe ( 'plot schema' , function ( ) {
6
10
'use strict' ;
Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ var createGraphDiv = require('../assets/create_graph_div');
9
9
var destroyGraphDiv = require ( '../assets/destroy_graph_div' ) ;
10
10
var customMatchers = require ( '../assets/custom_matchers' ) ;
11
11
12
+ // until it is part of the main plotly.js bundle
13
+ Plotly . register (
14
+ require ( '@lib/scattermapbox' )
15
+ ) ;
16
+
12
17
Plotly . setPlotConfig ( {
13
18
mapboxAccessToken : require ( '@build/credentials.json' ) . MAPBOX_ACCESS_TOKEN
14
19
} ) ;
You can’t perform that action at this time.
0 commit comments