Added: chosen v1.8.7 (#219)

This commit is contained in:
nobody 2021-01-04 07:27:48 +01:00
parent f0a7a53253
commit 3a55b45c05
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
5 changed files with 13 additions and 0 deletions

View File

@ -242,6 +242,7 @@ mappings.cdn = {
'Chart.js/{version}/Chart.js': resources.chartJs, 'Chart.js/{version}/Chart.js': resources.chartJs,
'Chart.js/{version}/Chart.css': resources.chartJsCSS, 'Chart.js/{version}/Chart.css': resources.chartJsCSS,
'Chart.js/{version}/Chart.min.css': resources.chartJsCSS, 'Chart.js/{version}/Chart.min.css': resources.chartJsCSS,
'chosen/{version}/chosen.jquery.min.js': resources.chosen,
'clipboard.js/{version}/clipboard.min.js': resources.clipboardJS, 'clipboard.js/{version}/clipboard.min.js': resources.clipboardJS,
'cookieconsent2/{version}/cookieconsent.min.js': resources.cookieconsent2JS, 'cookieconsent2/{version}/cookieconsent.min.js': resources.cookieconsent2JS,
'cookieconsent2/{version}/cookieconsent.js': resources.cookieconsent2JS, 'cookieconsent2/{version}/cookieconsent.js': resources.cookieconsent2JS,

View File

@ -291,6 +291,11 @@ var resources = {
'path': 'resources/chart.js/{version}/Chart.min.css', 'path': 'resources/chart.js/{version}/Chart.min.css',
'type': 'text/css' 'type': 'text/css'
}, },
// chosen
'chosen': {
'path': 'resources/chosen/{version}/chosen.jquery.min.jsm',
'type': 'application/javascript'
},
// clipboard.js // clipboard.js
'clipboardJS': { 'clipboardJS': {
'path': 'resources/clipboard.js/{version}/clipboard.min.jsm', 'path': 'resources/clipboard.js/{version}/clipboard.min.jsm',

View File

@ -156,6 +156,8 @@ targets.setLastVersion = function (type, version) {
return '4.0.2'; return '4.0.2';
} else if (type.startsWith('/chart.js/2.')) { } else if (type.startsWith('/chart.js/2.')) {
return '2.9.4'; return '2.9.4';
} else if (type.startsWith('/chosen/1.')) {
return '1.8.7';
} else if (type.startsWith('/clipboard.js/1.')) { } else if (type.startsWith('/clipboard.js/1.')) {
return '1.7.1'; return '1.7.1';
} else if (type.startsWith('/clipboard.js/2.')) { } else if (type.startsWith('/clipboard.js/2.')) {
@ -472,6 +474,7 @@ targets.determineResourceName = function (filename) {
}; };
const ListOfFiles = { const ListOfFiles = {
'chosen.jquery.min.jsm': 'chosen',
'nouislider.min.jsm': 'noUiSlider (JS)', 'nouislider.min.jsm': 'noUiSlider (JS)',
'mdb-ui-kit.min.jsm': 'MDB UI Kit (JS)', 'mdb-ui-kit.min.jsm': 'MDB UI Kit (JS)',
'mdb-ui-kit.min.css': 'MDB UI Kit (CSS)', 'mdb-ui-kit.min.css': 'MDB UI Kit (CSS)',

View File

@ -26,6 +26,7 @@
</div> </div>
<ul> <ul>
<li>Added: noUiSlider v14.6.3 (<a href="https://codeberg.org/nobody/LocalCDN/issues/219">#219</a>)</li> <li>Added: noUiSlider v14.6.3 (<a href="https://codeberg.org/nobody/LocalCDN/issues/219">#219</a>)</li>
<li>Added: chosen v1.8.7 (<a href="https://codeberg.org/nobody/LocalCDN/issues/219">#219</a>)</li>
</ul> </ul>
<div id="generator-section"> <div id="generator-section">
<div class="topic-label"> <div class="topic-label">

File diff suppressed because one or more lines are too long