diff --git a/carbonara.ts b/carbonara.ts index 7635725..e5b0418 100644 --- a/carbonara.ts +++ b/carbonara.ts @@ -36,6 +36,11 @@ const zones: {name: keyof typeof constants["co2-per-kwh"], test: RegExp}[] = [ { name: "us", test: /America\/(Adak|Anchorage|Boise|Chicago|Denver|Detroit|Indiana|Juneau|Kentucky|Los_Angeles|Menominee|Metlakatla|New_York|Nome|Phoenix|Sitka|Yakutat)/i } ]; +const stores: {[key: string]: Storage} = { + session: sessionStorage, + local: localStorage, +} + const template = document.createElement('template'); template.innerHTML = `