mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-02-17 04:10:53 +01:00
Added: AnchorJS v3.2.2 & v4.2.2 (#104)
This commit is contained in:
parent
4ed63cc475
commit
7769919007
@ -87,6 +87,7 @@ var mappings = {
|
||||
'/ajax/libs/': {
|
||||
'algoliasearch/{version}/algoliasearch.angular.': resources.algoliaSearch,
|
||||
'algoliasearch/{version}/algoliasearch.': resources.algoliaSearch,
|
||||
'anchor-js/{version}/anchor.': resources.anchorJS,
|
||||
'angucomplete-alt/{version}/angucomplete-alt.': resources.anguComplete,
|
||||
'angular-bootstrap-colorpicker/{version}/css/colorpicker.': resources.angularBootstrapColorpickerCSS,
|
||||
'angular-bootstrap-colorpicker/{version}/js/bootstrap-colorpicker-module.': resources.angularBootstrapColorpickerJS,
|
||||
@ -344,6 +345,7 @@ var mappings = {
|
||||
// jsDelivr (Cloudflare)
|
||||
'cdn.jsdelivr.net': {
|
||||
'/npm/': {
|
||||
'anchor-js@{version}/anchor.': resources.anchorJS,
|
||||
'angular@{version}/angular.': resources.angular,
|
||||
'angular@{version}/angular.min.': resources.angular,
|
||||
'angular-payments@{version}/lib/angular-payments.js': resources.angularPayments,
|
||||
|
@ -29,6 +29,11 @@ var resources = {
|
||||
'path': 'resources/algoliasearch/{version}/algoliasearch.min.jsm',
|
||||
'type': 'application/javascript'
|
||||
},
|
||||
// AnchorJS
|
||||
'anchorJS': {
|
||||
'path': 'resources/anchor-js/{version}/anchor.min.jsm',
|
||||
'type': 'application/javascript'
|
||||
},
|
||||
// AnguComplete
|
||||
'anguComplete': {
|
||||
'path': 'resources/angucomplete-alt/{version}/angucomplete-alt.min.jsm',
|
||||
|
@ -291,6 +291,10 @@ helpers.setLastVersion = function (type, version) {
|
||||
}
|
||||
if (type.includes('/algoliasearch/3.')) {
|
||||
return '3.35.1';
|
||||
} else if (type.includes('/anchor-js/3.')) {
|
||||
return '3.2.2';
|
||||
} else if (type.includes('/anchor-js/4.')) {
|
||||
return '4.2.2';
|
||||
} else if (type.includes('/angularjs/1.')) {
|
||||
if (helpers.compareVersion('1.2.19', version)) return '1.2.19'; // <= v1.2.19
|
||||
else if (helpers.compareVersion('1.2.32', version)) return '1.2.32'; // > 1.2.19 to <= v1.2.32
|
||||
@ -575,6 +579,7 @@ helpers.compareVersion = function (v1, v2) {
|
||||
};
|
||||
|
||||
const ListOfFiles = {
|
||||
'anchor.min.jsm': 'AnchorJS',
|
||||
'jquery.easing.min.jsm': 'jQuery Easing Plugin',
|
||||
'baguetteBox.min.jsm': 'baguetteBox.js (JS)',
|
||||
'baguetteBox.min.css': 'baguetteBox.js (CSS)',
|
||||
|
@ -48,6 +48,7 @@
|
||||
<li>Added: baguetteBox.js v1.11.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/100">#100</a>)</li>
|
||||
<li>Added: jQuery Easing Plugin v1.4.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/101">#101</a>)</li>
|
||||
<li>Updated: popper.js v2.4.4 (<a href="https://codeberg.org/nobody/LocalCDN/issues/103">#103</a>)</li>
|
||||
<li>Added: AnchorJS v3.2.2 & v4.2.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/104">#104</a>)</li>
|
||||
</ul>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
6
resources/anchor-js/3.2.2/anchor.min.jsm
Normal file
6
resources/anchor-js/3.2.2/anchor.min.jsm
Normal file
File diff suppressed because one or more lines are too long
9
resources/anchor-js/4.2.2/anchor.min.jsm
Normal file
9
resources/anchor-js/4.2.2/anchor.min.jsm
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user