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

Added: jQuery v1.11.2 (#187)

This commit is contained in:
nobody
2020-11-28 17:39:14 +01:00
parent 2873d9f53c
commit 4b43f0cd0c
3 changed files with 8 additions and 1 deletions

View File

@@ -228,7 +228,8 @@ targets.setLastVersion = function (type, version) {
} else if (type.startsWith('/jquery/1.')) {
if (helpers.compareVersion('1.7.1', version)) return '1.7.1'; // <= v1.7.1
else if (helpers.compareVersion('1.8.3', version)) return '1.8.3'; // > 1.7.1 to <= 1.8.3
else if (helpers.compareVersion('1.11.3', version)) return '1.11.3'; // > 1.8.3 to <= 1.11.3
else if (helpers.compareVersion('1.11.2', version)) return '1.11.2'; // > 1.8.3 to <= 1.11.2
else if (version === '1.11.3') return '1.11.3'; // = 1.11.3
else return '1.12.4'; // > 1.11.3
} else if (type.startsWith('/jquery/2.')) {
return '2.2.4';