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:
@@ -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',
|
||||
|
Reference in New Issue
Block a user