mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-27 18:42:33 +01:00
Added: Select2 v4.1.0-beta.1 in cdn.jsdelivr.net (#155)
This commit is contained in:
parent
13a0f75b4b
commit
d86baeeec1
@ -125,6 +125,18 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
||||
'path': 'resources/owl-carousel/2.0.0-beta.2.4/owl.carousel.min.jsm',
|
||||
'bundle': ''
|
||||
};
|
||||
} else if ((channelHost + channelPath).startsWith('cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/')) {
|
||||
let file = helpers.extractFilenameFromPath(channelPath);
|
||||
if (file.endsWith('js')) {
|
||||
file = file + 'm';
|
||||
}
|
||||
return {
|
||||
'source': channelHost,
|
||||
'versionDelivered': '4.0.13',
|
||||
'versionRequested': '4.1.0-beta.1',
|
||||
'path': 'resources/select2/4.0.13/' + helpers.extractFilenameFromPath(channelPath),
|
||||
'bundle': 'Select2'
|
||||
};
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user