moved to API
This commit is contained in:
@@ -39,7 +39,8 @@
|
||||
signPlacementById: new Map(),
|
||||
planetPlacementById: new Map(),
|
||||
pathPlacementByNo: new Map()
|
||||
}
|
||||
},
|
||||
gematriaDb: null
|
||||
};
|
||||
|
||||
function arabicDisplayName(letter) {
|
||||
@@ -86,6 +87,7 @@
|
||||
function ensureGematriaCalculator() {
|
||||
alphabetGematriaUi.init?.({
|
||||
getAlphabets: () => state.alphabets,
|
||||
getGematriaDb: () => state.gematriaDb,
|
||||
getGematriaElements
|
||||
});
|
||||
alphabetGematriaUi.ensureCalculator?.();
|
||||
@@ -403,6 +405,8 @@
|
||||
state.monthRefsByHebrewId = buildMonthReferencesByHebrew(referenceData, state.alphabets);
|
||||
}
|
||||
|
||||
state.gematriaDb = referenceData?.gematriaCiphers || null;
|
||||
|
||||
if (state.initialized) {
|
||||
ensureGematriaCalculator();
|
||||
syncFilterControls();
|
||||
|
||||
Reference in New Issue
Block a user