Updated: Swiper v6.4.15 -> v6.5.4 (#355)

This commit is contained in:
nobody 2021-04-07 07:00:04 +02:00
parent 90a72abf47
commit b3315c3cdc
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
9 changed files with 32 additions and 31 deletions

View File

@ -1102,8 +1102,8 @@ https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.5.1/css/swiper.min.css
https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.5.1/js/swiper.min.js
https://cdnjs.cloudflare.com/ajax/libs/Swiper/5.4.5/css/swiper.min.css
https://cdnjs.cloudflare.com/ajax/libs/Swiper/5.4.5/js/swiper.min.js
https://cdnjs.cloudflare.com/ajax/libs/Swiper/6.4.15/swiper-bundle.min.css
https://cdnjs.cloudflare.com/ajax/libs/Swiper/6.4.15/swiper-bundle.min.js
https://cdnjs.cloudflare.com/ajax/libs/Swiper/6.5.4/swiper-bundle.min.css
https://cdnjs.cloudflare.com/ajax/libs/Swiper/6.5.4/swiper-bundle.min.js
https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.7/js/tether.min.js
https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.4/toastr.min.css
https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.4/toastr.min.js

View File

@ -479,7 +479,7 @@ function create_url() {
fi
elif [ "$folder" = "slider-pro" ]; then
url="$CLOUDFLARE/$folder/$version/js/$jfile"
elif [ "$folder" = "Swiper" ] && [ "$version" = "6.4.15" ]; then
elif [ "$folder" = "Swiper" ] && [ "$version" != "3.4.2" ] && [ "$version" != "4.5.1" ] && [ "$version" != "5.4.5" ]; then
if [[ "$path" =~ .*swiper\.min\.css$ ]]; then
url="$CLOUDFLARE/$folder/$version/swiper-bundle.min.css"
elif [[ "$path" =~ .*swiper\.min\.js$ ]]; then

View File

@ -519,7 +519,7 @@ targets.setLastVersion = function (type, version) {
} else if (type.startsWith('/Swiper/5.')) {
return '5.4.5';
} else if (type.startsWith('/Swiper/6.') || type.startsWith('/Swiper/')) {
return '6.4.15';
return '6.5.4';
} else if (type.startsWith('/tether/1.')) {
return '1.4.7';
} else if (type.startsWith('/tooltipster/3.')) {

View File

@ -49,6 +49,7 @@
<li>Added: Chart.js v3.0.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/347">#347</a>)</li>
<li>Updated: highlight.js v10.7.1 -> v10.7.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/351">#351</a>)</li>
<li>Added: Bootstrap (only CSS) v2.3.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/350">#350</a>)</li>
<li>Updated: Swiper v6.4.15 -> v6.5.4 (<a href="https://codeberg.org/nobody/LocalCDN/issues/355">#355</a>)</li>
</ul>
<div id="generator-section">
<div class="topic-label">

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long