summaryrefslogtreecommitdiff
path: root/ext/js/pages
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-11-10 00:05:01 +0000
committerGitHub <noreply@github.com>2023-11-10 00:05:01 +0000
commit6b51d59fce9c56f3b1e069f620c5064f8cb51406 (patch)
tree839f379feabe210433278974a975297cec46a97e /ext/js/pages
parentb7d3cef68bc509d0dc907b380f2d1d665aa19149 (diff)
parent2cd7b14333a727418584d95c71ee6cb10b9a4197 (diff)
Merge pull request #310 from themoeway/playwright-esm
Change playwright scripts to use ESM
Diffstat (limited to 'ext/js/pages')
-rw-r--r--ext/js/pages/settings/dictionary-controller.js4
-rw-r--r--ext/js/pages/settings/popup-preview-frame-main.js6
2 files changed, 0 insertions, 10 deletions
diff --git a/ext/js/pages/settings/dictionary-controller.js b/ext/js/pages/settings/dictionary-controller.js
index a9403e39..05f4f396 100644
--- a/ext/js/pages/settings/dictionary-controller.js
+++ b/ext/js/pages/settings/dictionary-controller.js
@@ -20,10 +20,6 @@ import {EventListenerCollection, log} from '../../core.js';
import {DictionaryWorker} from '../../language/dictionary-worker.js';
import {yomichan} from '../../yomichan.js';
-/* global
- * DictionaryWorker
- */
-
class DictionaryEntry {
constructor(dictionaryController, fragment, index, dictionaryInfo) {
this._dictionaryController = dictionaryController;
diff --git a/ext/js/pages/settings/popup-preview-frame-main.js b/ext/js/pages/settings/popup-preview-frame-main.js
index d10910fc..0b69fea0 100644
--- a/ext/js/pages/settings/popup-preview-frame-main.js
+++ b/ext/js/pages/settings/popup-preview-frame-main.js
@@ -22,12 +22,6 @@ import {HotkeyHandler} from '../../input/hotkey-handler.js';
import {yomichan} from '../../yomichan.js';
import {PopupPreviewFrame} from './popup-preview-frame.js';
-/* global
- * HotkeyHandler
- * PopupFactory
- * PopupPreviewFrame
- */
-
(async () => {
try {
await yomichan.prepare();