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

Added AngularJS v1.5.11 (Fixed #63)

This commit is contained in:
nobody42
2020-04-25 09:59:02 +02:00
parent 591a978ca1
commit 008992c697
6 changed files with 403 additions and 2 deletions

View File

@@ -412,8 +412,9 @@ helpers.setLastVersion = function (type, version) {
if (type.includes('/algoliasearch/3.')) {
version = '3.35.1';
} else if (type.includes('/angularjs/1.')) {
if (helpers.compareVersion('1.3.14', requestVersion)) version = '1.3.13'; // < v1.6.1
else if (helpers.compareVersion('1.6.2', requestVersion)) version = '1.6.1'; // >= 1.7.2 to <= 1.8.3
if (helpers.compareVersion('1.3.14', requestVersion)) version = '1.3.13'; // < v1.3.14
else if (helpers.compareVersion('1.5.12', requestVersion)) version = '1.5.11'; // >= 1.3.13 to <= 1.5.12
else if (helpers.compareVersion('1.6.2', requestVersion)) version = '1.6.1'; // >= 1.5.13 to <= 1.6.2
else version = '1.7.9';
} else if (type.includes('/angularjs-slider/6.')) {
version = '6.7.0';