diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-08-05 19:23:17 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-08-05 19:23:17 -0700 |
commit | 7e635d6382b0d96f596e2440b93e5935230367aa (patch) | |
tree | 0a69ec1c49333c7dc49e0adb247a11f2ad69c6e7 /ext/bg/js/settings.js | |
parent | dfecef1f23435c933237794de6665f6fbacf90ec (diff) |
more cleanup
Diffstat (limited to 'ext/bg/js/settings.js')
-rw-r--r-- | ext/bg/js/settings.js | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/ext/bg/js/settings.js b/ext/bg/js/settings.js index 1edbab01..ce9e14a2 100644 --- a/ext/bg/js/settings.js +++ b/ext/bg/js/settings.js @@ -17,39 +17,6 @@ */ -/* - * Utilities - */ - -function utilAnkiGetModelNames() { - return backend().anki.getModelNames(); -} - -function utilAnkiGetDeckNames() { - return backend().anki.getDeckNames(); -} - -function utilAnkiGetModelFieldNames(modelName) { - return backend().anki.getModelFieldNames(modelName); -} - -function utilDatabaseGetDictionaries() { - return backend().translator.database.getDictionaries(); -} - -function utilDatabasePurge() { - return backend().translator.database.purge(); -} - -function utilDatabaseImport(data, progress) { - return backend().translator.database.importDictionary(data, progress); -} - - -/* - * General - */ - async function formRead() { const optionsOld = await optionsLoad(); const optionsNew = $.extend(true, {}, optionsOld); |