mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-14 05:13:00 +00:00
20 lines
616 B
JavaScript
20 lines
616 B
JavaScript
"use strict";
|
|
|
|
import '../css/main.css';
|
|
import '../../node_modules/leaflet-timedimension/dist/leaflet.timedimension.control.css';
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
import MapManager from './MapManager.mjs';
|
|
|
|
import 'iso8601-js-period';
|
|
|
|
window.addEventListener("load", function(_event) {
|
|
window.map_manager = new MapManager();
|
|
window.map_manager.setup();
|
|
|
|
console.log("iso8601-js-period namespace: ", window.nezasa);
|
|
|
|
// Ensure terser doesn't tree-shake iso8601-js-period
|
|
console.debug(`iso8601-js-period ${nezasa.iso8601.Period?"is":"is not"} loaded.`);
|
|
});
|