1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-27 10:32:24 +01:00

Fix comment to reflect reality

This commit is contained in:
Calum McConnell 2021-04-27 23:30:25 -04:00
parent 1b8443412a
commit 92e8208dd2
No known key found for this signature in database
GPG Key ID: EFF5E1D7E0CD9B32
2 changed files with 3 additions and 3 deletions

View File

@ -227,8 +227,8 @@ helpers.formatFilename = function (targetPath) {
helpers.compareVersion = function (v1, v2) {
/**
* compareVersion( '1.5.7' , '1.5.8' ) is TRUE
* compareVersion( '1.5.8' , '1.5.7' ) is FALSE
* compareVersion( '1.5.7' , '1.5.8' ) is FALSE
* compareVersion( '1.5.8' , '1.5.7' ) is TRUE
* compareVersion( '1.5.7' , '1.5.7' ) is TRUE
*/
v1 = v1.split('.');

View File

@ -206,7 +206,7 @@ targets.setLastVersion = function (type, version) {
} else if (type.startsWith('/bootstrap-3-typeahead/4.')) {
return '4.0.2';
} else if (type.startsWith('/bowser/')) {
if (helpers.compareVersion(version, '1.9.4')) return '1.9.4';
if (helpers.compareVersion('1.9.4', version)) return '1.9.4';
return '2.11.0'
} else if (type.startsWith('/bulma/0.')) {
return '0.9.2';