Cycle2 moved

This commit is contained in:
nobody 2022-04-10 10:16:26 +02:00
parent 505d22d4f5
commit fd2d48b4b1
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
3 changed files with 5 additions and 11 deletions

View File

@ -327,6 +327,7 @@ mappings.cdn = {
'jquery.devbridge-autocomplete/{version}/jquery.autocomplete.min.js': resources.jQueryAjaxAutoComplete,
'jquery.blockUI/{version}/jquery.blockUI.min.js': resources.jQueryBlockUI,
'jquery-csv/{version}/jquery.csv.min.js': resources.jQueryCSV,
'jquery.cycle2/{version}/': resources.jqueryCycle2,
'jquery-easing/{version}/jquery.easing.': resources.jQueryEasing,
'jquery.lazyload/{version}/jquery.lazyload.min.js': resources.jQueryLazyLoad,
'jquery.lazy/{version}/': resources.jQueryLazyBundle,

View File

@ -539,6 +539,10 @@ var resources = {
'jqueryAjaxUnobtrusive': {
'path': 'resources/jquery-ajax-unobtrusive/{version}/jquery.unobtrusive-ajax.min.jsm'
},
// Cycle2 (Bundle)
'jqueryCycle2': {
'path': 'resources/jquery.cycle2/{version}/'
},
// jquery.cookie [Deprecated]
'jqueryCookie': {
'path': 'resources/jquery-cookie/{version}/jquery.cookie.min.jsm'

View File

@ -168,17 +168,6 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
'path': `resources/twitter-bootstrap/fonts/${helpers.extractFilenameFromPath(channelPath)}`,
'bundle': 'Bootstrap (Fonts)'
};
} else if ((/cdnjs\.cloudflare\.com\/ajax\/libs\/jquery\.cycle2\/[\d.]+\//).test(CompleteURL)) {
if (channelPath.endsWith('js')) {
channelPath += 'm';
}
return {
'source': channelHost,
'versionRequested': '2.1.6',
'versionDelivered': '2.1.6',
'path': `resources/jquery.cycle2/2.1.6/${helpers.extractFilenameFromPath(channelPath)}`,
'bundle': 'Cycle2 (Bundle)'
};
} else if (CompleteURL === 'cdn.jsdelivr.net/npm/videojs-seek-buttons/dist/videojs-seek-buttons.min.js') {
lastVersion = targets.setLastVersion('/videojs-seek-buttons/');
return {