Export editor globals under anki namespace

This commit is contained in:
Henrik Giesel 2021-07-06 03:48:33 +02:00
parent ca4d4424e6
commit 794b9f30dc

View file

@ -6,3 +6,6 @@ import * as globals from "./index";
for (const key in globals) {
window[key] = globals[key];
}
// but also export as window.anki
window["anki"] = globals;