states-editor - dynamic module

This commit is contained in:
Azgaar 2022-05-15 16:03:47 +03:00 committed by Peter
parent fd450a20c1
commit 877ae096bd

View file

@ -1190,3 +1190,10 @@ async function editReligions() {
const Editor = await import("../dynamic/editors/religions-editor.js?v=1.87.01"); const Editor = await import("../dynamic/editors/religions-editor.js?v=1.87.01");
Editor.open(); Editor.open();
} }
// dynamically loaded editors
async function editStates() {
if (customization) return;
const StateEditor = await import("../dynamic/editors/states-editor.js");
StateEditor.open();
}