Skip to content

Commit e46d570

Browse files
committed
update readme
1 parent 9fcef2b commit e46d570

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,20 @@ var Plotly = require('plotly.js-dist')
4646

4747
### Use the plotly.js CDN hosted by Fastly
4848

49+
#### A minified plotly.js X.Y.Z release
4950
```html
50-
<!-- Latest compiled and minified plotly.js JavaScript -->
51-
<script src="https://cdn.plot.ly/plotly-latest.min.js" charset="utf-8"></script>
52-
53-
<!-- OR use a specific plotly.js release (e.g. version 1.52.3) -->
54-
<script src="https://cdn.plot.ly/plotly-1.52.3.min.js" charset="utf-8"></script>
51+
<script src="https://cdn.plot.ly/plotly-1.58.4.min.js" charset="utf-8"></script>
52+
```
5553

56-
<!-- OR an un-minified version is also available -->
57-
<script src="https://cdn.plot.ly/plotly-latest.js" charset="utf-8"></script>
54+
#### An un-minified version is also available
55+
```html
56+
<script src="https://cdn.plot.ly/plotly-1.58.4.js" charset="utf-8"></script>
5857
```
5958

6059
and use the `Plotly` object in the window scope.
6160

61+
##### Please note that after v2 the "plotly-latest" outputs (e.g. https://cdn.plot.ly/plotly-latest.min.js) will no longer be updated on the CDN and stay at last v1 patch i.e. v1.58.4. Therefore, in order to upgrade to plotly.js v2 and higher, you may consider switching to a specific plotly.js version.
62+
6263
Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastly.com/open-source>
6364

6465
### Download the latest release

0 commit comments

Comments
 (0)