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;
1515
1616var noop = function ( ) { } ;
1717
18+ // until it is part of the main plotly.js bundle
19+ Plotly . register (
20+ require ( '@lib/scattermapbox' )
21+ ) ;
22+
1823Plotly . setPlotConfig ( {
1924 mapboxAccessToken : MAPBOX_ACCESS_TOKEN
2025} ) ;
Original file line number Diff line number Diff line change 11var Plotly = require ( '@lib/index' ) ;
22var Lib = require ( '@src/lib' ) ;
33
4+ // until it is part of the main plotly.js bundle
5+ Plotly . register (
6+ require ( '@lib/scattermapbox' )
7+ ) ;
48
59describe ( 'plot schema' , function ( ) {
610 'use strict' ;
Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ var createGraphDiv = require('../assets/create_graph_div');
99var destroyGraphDiv = require ( '../assets/destroy_graph_div' ) ;
1010var customMatchers = require ( '../assets/custom_matchers' ) ;
1111
12+ // until it is part of the main plotly.js bundle
13+ Plotly . register (
14+ require ( '@lib/scattermapbox' )
15+ ) ;
16+
1217Plotly . setPlotConfig ( {
1318 mapboxAccessToken : require ( '@build/credentials.json' ) . MAPBOX_ACCESS_TOKEN
1419} ) ;
You can’t perform that action at this time.
0 commit comments