aboutsummaryrefslogtreecommitdiff
path: root/ext/js/background
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-01-19 23:52:48 -0500
committerGitHub <noreply@github.com>2024-01-20 04:52:48 +0000
commit39265a43d969e1201cb5267789967b57835059b1 (patch)
treee6ff82234037b16782b85d77901b29bbe12137fd /ext/js/background
parentffddc74f3d05061fc1e84d149ce678d116cedc4c (diff)
Separate core classes into separate files (#545)
Diffstat (limited to 'ext/js/background')
-rw-r--r--ext/js/background/backend.js3
-rw-r--r--ext/js/background/offscreen-proxy.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/ext/js/background/backend.js b/ext/js/background/backend.js
index f2f2fda9..38d82496 100644
--- a/ext/js/background/backend.js
+++ b/ext/js/background/backend.js
@@ -22,10 +22,11 @@ import {AnkiConnect} from '../comm/anki-connect.js';
import {ClipboardMonitor} from '../comm/clipboard-monitor.js';
import {ClipboardReader} from '../comm/clipboard-reader.js';
import {Mecab} from '../comm/mecab.js';
-import {clone, deferPromise, isObject, log, promiseTimeout} from '../core.js';
import {createApiMap, invokeApiMapHandler} from '../core/api-map.js';
import {ExtensionError} from '../core/extension-error.js';
import {readResponseJson} from '../core/json.js';
+import {log} from '../core/logger.js';
+import {clone, deferPromise, isObject, promiseTimeout} from '../core/utilities.js';
import {AnkiUtil} from '../data/anki-util.js';
import {OptionsUtil} from '../data/options-util.js';
import {PermissionsUtil} from '../data/permissions-util.js';
diff --git a/ext/js/background/offscreen-proxy.js b/ext/js/background/offscreen-proxy.js
index abd3fa37..77f5448a 100644
--- a/ext/js/background/offscreen-proxy.js
+++ b/ext/js/background/offscreen-proxy.js
@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import {isObject} from '../core.js';
+import {isObject} from '../core/utilities.js';
import {ExtensionError} from '../core/extension-error.js';
import {ArrayBufferUtil} from '../data/sandbox/array-buffer-util.js';