Permalink
Browse files

Use Plotly.plotlyVersion in online mode too

  • Loading branch information...
sbrunk committed Nov 28, 2018
1 parent 4fc7d16 commit 0a36312473d535e835b068c389169fe1f88e9cef
Showing with 2 additions and 2 deletions.
  1. +2 −2 almond/src/main/scala/plotly/Almond.scala
@@ -25,10 +25,10 @@ object Almond {
|});
""".stripMargin
else
"""require.config({
s"""require.config({
| paths: {
| d3: 'https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min',
| plotly: 'https://cdn.plot.ly/plotly-1.12.0.min',
| plotly: 'https://cdn.plot.ly/plotly-${Plotly.plotlyVersion}.min',
| jquery: 'https://code.jquery.com/jquery-3.3.1.min'
| },
|

0 comments on commit 0a36312

Please sign in to comment.