Skip to content

Commit 9a82df9

Browse files
committed
isolate latest in stats
1 parent 995ca16 commit 9a82df9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks/stats.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function getInfoContent() {
7474
'Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.',
7575
'Many other localizations are available - here is an example using Swiss-German (de-CH),',
7676
'see the contents of this directory for the full list.',
77-
'They are also available on our CDN as ' + cdnRoot + 'locale-de-ch-latest.js OR ' + cdnRoot + 'locale-de-ch-' + pkg.version + '.js',
77+
'They are also available on our CDN as ' + cdnRoot + 'locale-de-ch-' + 'latest' + '.js OR ' + cdnRoot + 'locale-de-ch-' + pkg.version + '.js',
7878
'Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.',
7979
'',
8080
'*After* the plotly.js script tag, add:',
@@ -185,8 +185,8 @@ function makeBundleInfo(pathObj) {
185185
'',
186186
'| Flavor | URL |',
187187
'| ------ | --- |',
188-
'| Latest | ' + cdnRoot + name + '-latest' + JS + ' |',
189-
'| Latest minified | ' + cdnRoot + name + '-latest' + MINJS + ' |',
188+
'| Latest | ' + cdnRoot + name + '-' + 'latest' + JS + ' |',
189+
'| Latest minified | ' + cdnRoot + name + '-' + 'latest' + MINJS + ' |',
190190
'| Tagged | ' + cdnRoot + name + '-' + pkg.version + JS + ' |',
191191
'| Tagged minified | ' + cdnRoot + name + '-' + pkg.version + MINJS + ' |',
192192
'',

0 commit comments

Comments
 (0)