1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Added: jQuery v3.2.1 (#287)

This commit is contained in:
nobody
2021-02-26 19:22:46 +01:00
parent fe307e1fd8
commit 714e168886
3 changed files with 7 additions and 1 deletions

View File

@@ -262,7 +262,8 @@ targets.setLastVersion = function (type, version) {
} else if (type.startsWith('/jquery/2.')) {
return '2.2.4';
} else if (type.startsWith('/jquery/3.') || type.startsWith('/jquery/latest')) {
return '3.5.1';
if (helpers.compareVersion('3.2.1', version)) return '3.2.1'; // <= v3.2.1
else return '3.5.1';
} else if (type.startsWith('/jquery.devbridge-autocomplete/1.')) {
return '1.4.11';
} else if (type.startsWith('/jqueryui/1.')) {