mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-22 06:23:01 +00:00
Strengthen iso8601-js-period tree-shaking anchor
This commit is contained in:
parent
5458d581e5
commit
4971d641e7
1 changed files with 5 additions and 1 deletions
|
@ -7,13 +7,17 @@ import '../../node_modules/leaflet-timedimension/dist/leaflet.timedimension.cont
|
|||
|
||||
import MapManager from './MapManager.mjs';
|
||||
|
||||
import 'iso8601-js-period';
|
||||
import iso8601 from 'iso8601-js-period';
|
||||
|
||||
window.addEventListener("load", function(_event) {
|
||||
window.map_manager = new MapManager();
|
||||
window.map_manager.setup();
|
||||
});
|
||||
|
||||
window.nezasa = {
|
||||
iso8601
|
||||
};
|
||||
|
||||
// This needs to be here rather than in onload, because we need to ensure it's loaded now
|
||||
console.log("iso8601-js-period namespace: ", window.nezasa);
|
||||
|
||||
|
|
Loading…
Reference in a new issue