Skip to content

Commit 55b9336

Browse files
committed
use local topojson from dist/ in test dahsboard
1 parent 9afb014 commit 55b9336

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

devtools/test_dashboard/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@
1212
<script type="text/javascript" src="../../dist/extras/mathjax/MathJax.js?config=TeX-AMS-MML_SVG"></script>
1313

1414
<script type="text/javascript" src="../../dist/plotly.js" charset="utf-8"></script>
15-
<script>PLOTLYENV = { TOPOJSON_URL: '../../src/assets/topojson/' };</script>
15+
16+
<!-- use local topojson files -->
17+
<script>Plotly.setPlotConfig({ topojsonURL: '../../dist/topojson/' });</script>
1618

1719
<script type="text/javascript" src="../../build/test_dashboard-bundle.js"></script>
1820

19-
<!-- helper functions to manipulate graph div -->
21+
<!-- helper functions to manipulate the graph div -->
2022
<script>
2123
var Tabs = {
2224
getGraph: function() {

0 commit comments

Comments
 (0)