Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use Plotly.plotlyVersion in online mode too
  • Loading branch information
sbrunk committed Nov 28, 2018
1 parent 4fc7d16 commit 0a36312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions almond/src/main/scala/plotly/Almond.scala
Expand Up @@ -25,10 +25,10 @@ object Almond {
|}); |});
""".stripMargin """.stripMargin
else else
"""require.config({ s"""require.config({
| paths: { | paths: {
| d3: 'https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min', | 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' | jquery: 'https://code.jquery.com/jquery-3.3.1.min'
| }, | },
| |
Expand Down

0 comments on commit 0a36312

Please sign in to comment.