Skip to content

Commit 5971c16

Browse files
authored
Merge pull request #1166 from plotly/stats-fixup
tasks: fixup main bundle URLs
2 parents 775682f + 6cf4283 commit 5971c16

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
3737

3838
It be can imported as minified javascript
3939
- using dist file `dist/plotly.min.js`
40-
- using CDN URL https://cdn.plot.ly/plotly-plotly-latest.min.js OR https://cdn.plot.ly/plotly-plotly-1.20.2.min.js
40+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.20.2.min.js
4141

4242
or as raw javascript:
4343
- using dist file `dist/plotly.js`
44-
- using CDN URL https://cdn.plot.ly/plotly-plotly-latest.js OR https://cdn.plot.ly/plotly-plotly-1.20.2.js
44+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.20.2.js
4545
- using CommonJS with `require('plotly.js')`
4646

4747
If you would like to have access to the attribute meta information (including attribute descriptions as on the [schema reference page](https://plot.ly/javascript/reference/)), use dist file `dist/plotly-with-meta.js`

tasks/stats.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ function getMainBundleInfo() {
9595
'',
9696
'It be can imported as minified javascript',
9797
'- using dist file `dist/plotly.min.js`',
98-
'- using CDN URL ' + cdnRoot + 'plotly-latest.min.js OR ' + cdnRoot + 'plotly-' + pkg.version + MINJS,
98+
'- using CDN URL ' + cdnRoot + 'latest' + MINJS + ' OR ' + cdnRoot + pkg.version + MINJS,
9999
'',
100100
'or as raw javascript:',
101101
'- using dist file `dist/plotly.js`',
102-
'- using CDN URL ' + cdnRoot + 'plotly-latest.js OR ' + cdnRoot + 'plotly-' + pkg.version + JS,
102+
'- using CDN URL ' + cdnRoot + 'latest' + JS + ' OR ' + cdnRoot + pkg.version + JS,
103103
'- using CommonJS with `require(\'plotly.js\')`',
104104
'',
105105
'If you would like to have access to the attribute meta information ' +

0 commit comments

Comments
 (0)