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

Added AngularJS v1.3.13 (Fixed #59)

This commit is contained in:
nobody42
2020-04-19 18:40:04 +02:00
parent 5d60a03d2b
commit ba9b254138
5 changed files with 259 additions and 1 deletions

View File

@ -410,7 +410,8 @@ helpers.setLastVersion = function (type, version) {
if (type.includes('/algoliasearch/3.')) {
version = '3.35.1';
} else if (type.includes('/angularjs/1.')) {
if (helpers.compareVersion('1.6.2', requestVersion)) version = '1.6.1'; // < v1.6.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
else version = '1.7.9';
} else if (type.includes('/angularjs-slider/6.')) {
version = '6.7.0';