From 2ef4e41be6e69ff36adb484eaf2ea4ef8f39c865 Mon Sep 17 00:00:00 2001 From: nobody Date: Fri, 30 Jul 2021 20:58:38 +0200 Subject: [PATCH] Fixed: Latest version of toastr.js (#590) --- core/mappings.js | 2 ++ modules/internal/targets.js | 2 +- pages/updates/updates.html | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/mappings.js b/core/mappings.js index 89cad836..9cd8e996 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -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, diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 3af42cf7..621078e4 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -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'; diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 9f9a3024..1c40bea7 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -34,6 +34,7 @@
  • Mapping: vuex -> cdn.jsdelivr.net

  • Fixed: Version detection of Vue.js
  • +
  • Fixed: Latest version of toastr.js (#590)