mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Version selection of AngularUI Router improved
This commit is contained in:
@@ -461,10 +461,9 @@ helpers.setLastVersion = function (type, version) {
|
||||
version = '0.14.3';
|
||||
} else if (type.includes('/angular-ui-bootstrap/1.')) {
|
||||
version = '1.3.3';
|
||||
} else if (type.includes('/angular-ui-router/0.')) {
|
||||
version = '0.4.3';
|
||||
} else if (type.includes('/angular-ui-router/1.')) {
|
||||
version = '1.0.25';
|
||||
} else if (type.includes('/angular-ui-router/')) {
|
||||
if (helpers.compareVersion('0.4.3', requestVersion)) version = '0.4.3'; // <= 0.4.3
|
||||
else version = '1.0.25'; // > 0.4.3
|
||||
} else if (type.includes('/angular-ui-select/0.')) {
|
||||
version = '0.20.0';
|
||||
} else if (type.includes('/angucomplete-alt/3.')) {
|
||||
|
Reference in New Issue
Block a user