Fixed: Latest version of toastr.js (#590)

This commit is contained in:
nobody 2021-07-30 20:58:38 +02:00
parent c6be66ee54
commit 2ef4e41be6
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
3 changed files with 4 additions and 1 deletions

View File

@ -430,6 +430,8 @@ mappings.cdn = {
'tooltipster/{version}/js/jquery.tooltipster.': resources.jQueryTooltipster,
'toastr.js/{version}/toastr.min.css': resources.toastrCSS,
'toastr.js/{version}/toastr.min.js': resources.toastrJS,
'toastr.js/{version}/js/toastr.': resources.toastrJS,
'toastr.js/{version}/css/toastr.': resources.toastrCSS,
'twitter-bootstrap/{version}/js/bootstrap.min.js': resources.bootstrapJS,
'twitter-bootstrap/{version}-alpha.3/js/bootstrap.min.js': resources.bootstrapJS,
'twitter-bootstrap/{version}-alpha.3/css/bootstrap.min.css': resources.bootstrapCSS,

View File

@ -594,7 +594,7 @@ targets.setLastVersion = function (type, version) {
return '3.3.0';
} else if (type.startsWith('/tooltipster/4.')) {
return '4.2.8';
} else if (type.startsWith('/toastr.js/2.')) {
} else if (type.startsWith('/toastr.js/2.') || type.startsWith('/toastr.js/latest/')) {
return '2.1.4';
} else if (type.startsWith('/twitter-bootstrap/2.')) {
return '2.3.2';

View File

@ -34,6 +34,7 @@
<li>Mapping: vuex -> cdn.jsdelivr.net</li>
<br>
<li>Fixed: Version detection of Vue.js</li>
<li>Fixed: Latest version of toastr.js (<a href="https://codeberg.org/nobody/LocalCDN/issues/590">#590</a>)</li>
</ul>
<div id="generator-section">
<div class="topic-label">