1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Add leaflet js/css

This commit is contained in:
Calum McConnell
2021-04-09 10:36:36 -04:00
parent c3061891a5
commit 7075504193
3 changed files with 21 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ targets.determineBundle = function (path) {
val = 'Bootstrap Datepicker';
} else if (path.startsWith('/jquery.lazy/')) {
val = 'jQuery Lazy';
} else if (path.startsWith('/leaflet/')) {
val = 'leaflet';
} else if (path.startsWith('/waypoints/')) {
val = 'Waypoints';
} else if (path.startsWith('/highlight.js/')) {
@@ -375,6 +377,10 @@ targets.setLastVersion = function (type, version) {
return '4.1.8';
} else if (type.startsWith('/lazysizes/5.')) {
return '5.3.1';
} else if (type.startsWith('/leaflet/0.')) {
return '0.7.7';
} else if (type.startsWith('/leaflet/1.')) {
return '1.7.1';
} else if (type.startsWith('/libphonenumber-js/1.')) {
return '1.9.4';
} else if (type.startsWith('/libsodium-wrappers/0.')) {
@@ -574,6 +580,8 @@ targets.determineResourceName = function (filename) {
};
const ListOfFiles = {
'leaflet.jsm' : 'leaflet (JS)',
'leaflet.css' : 'leaflet (CSS)',
'bluebird.min.jsm': 'bluebird',
'feather.min.jsm': 'Feather Icons',
'babel.min.jsm': 'Babel standalone',