Fix local caching by hiding latlon2country import

This commit is contained in:
Pieter Vander Vennet 2021-10-03 01:57:36 +02:00
parent a4da937033
commit 5bcb879dfe
5 changed files with 8 additions and 9 deletions

View file

@ -1,15 +1,11 @@
import {GeoOperations} from "./GeoOperations";
import State from "../State";
import {And} from "./Tags/And";
import {Tag} from "./Tags/Tag";
import {Or} from "./Tags/Or";
import {Utils} from "../Utils";
import opening_hours from "opening_hours";
import Combine from "../UI/Base/Combine";
import BaseUIElement from "../UI/BaseUIElement";
import Title from "../UI/Base/Title";
import {FixedUiElement} from "../UI/Base/FixedUiElement";
import CountryCoder from "latlon2country/index";
const cardinalDirections = {
@ -21,7 +17,7 @@ const cardinalDirections = {
export default class SimpleMetaTagger {
private static coder: CountryCoder = new CountryCoder("https://pietervdvn.github.io/latlon2country/");
public static coder: any;
public static readonly objectMetaInfo = new SimpleMetaTagger(
{
keys: ["_last_edit:contributor",