added dictionary lookup
This commit is contained in:
@@ -390,6 +390,12 @@
|
||||
}));
|
||||
}
|
||||
|
||||
async function loadWordsByPrefix(prefix) {
|
||||
return fetchJson(buildApiUrl("/api/v1/words/prefix", {
|
||||
prefix
|
||||
}));
|
||||
}
|
||||
|
||||
async function loadTextLibrary(forceRefresh = false) {
|
||||
if (!forceRefresh && textLibraryCache) {
|
||||
return textLibraryCache;
|
||||
@@ -642,6 +648,7 @@
|
||||
loadDeckOptions,
|
||||
loadGematriaWordsByValue,
|
||||
loadWordAnagrams,
|
||||
loadWordsByPrefix,
|
||||
loadQuizCategories,
|
||||
loadQuizTemplates,
|
||||
loadTarotCards,
|
||||
|
||||
Reference in New Issue
Block a user