diff --git a/core/resources.js b/core/resources.js index 5574fba7..5e95c440 100644 --- a/core/resources.js +++ b/core/resources.js @@ -512,11 +512,11 @@ var resources = { 'path': 'resources/lazysizes/{version}/lazysizes.min.jsm' }, // leaflet - 'leafletJS':{ - 'path': 'resources/leaflet/{version}/leaflet.jsm' + 'leafletJS': { + 'path': 'resources/leaflet/{version}/leaflet.jsm' }, - 'leafletCSS':{ - 'path': 'resources/leaflet/{version}/leaflet.css' + 'leafletCSS': { + 'path': 'resources/leaflet/{version}/leaflet.css' }, // libphonenumber-js 'libphonenumber': { diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 81248ec4..6dd725fa 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -374,9 +374,9 @@ targets.setLastVersion = function (type, version) { } else if (type.startsWith('/lazysizes/5.')) { return '5.3.1'; } else if (type.startsWith('/leaflet/0.')) { - return '0.7.7'; + return '0.7.7'; } else if (type.startsWith('/leaflet/1.')) { - return '1.7.1'; + return '1.7.1'; } else if (type.startsWith('/libphonenumber-js/1.')) { return '1.9.4'; } else if (type.startsWith('/libsodium-wrappers/0.')) { @@ -576,8 +576,8 @@ targets.determineResourceName = function (filename) { }; const ListOfFiles = { - 'leaflet.jsm' : 'leaflet (JS)', - 'leaflet.css' : 'leaflet (CSS)', + 'leaflet.jsm': 'leaflet (JS)', + 'leaflet.css': 'leaflet (CSS)', 'bluebird.min.jsm': 'bluebird', 'feather.min.jsm': 'Feather Icons', 'babel.min.jsm': 'Babel standalone',