aboutsummaryrefslogtreecommitdiff
path: root/ext/js/app/frontend.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 13:36:04 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 13:36:04 -0500
commitaabd761ee9064f6a46703f234e016f31f6441fa0 (patch)
tree4e320d1a4b85c91337fa8e5591e066c7d31fbefc /ext/js/app/frontend.js
parent4da4827bcbcdd1ef163f635d9b29416ff272b0bb (diff)
Remove unneeded references
Diffstat (limited to 'ext/js/app/frontend.js')
-rw-r--r--ext/js/app/frontend.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/js/app/frontend.js b/ext/js/app/frontend.js
index fec933f8..628c504e 100644
--- a/ext/js/app/frontend.js
+++ b/ext/js/app/frontend.js
@@ -21,10 +21,8 @@ import {EventListenerCollection, invokeMessageHandler, log, promiseAnimationFram
import {DocumentUtil} from '../dom/document-util.js';
import {TextSourceElement} from '../dom/text-source-element.js';
import {TextSourceRange} from '../dom/text-source-range.js';
-import {HotkeyHandler} from '../input/hotkey-handler.js';
import {TextScanner} from '../language/text-scanner.js';
import {yomitan} from '../yomitan.js';
-import {PopupFactory} from './popup-factory.js';
/**
* This is the main class responsible for scanning and handling webpage content.
@@ -50,7 +48,7 @@ export class Frontend {
}) {
/** @type {import('frontend').PageType} */
this._pageType = pageType;
- /** @type {PopupFactory} */
+ /** @type {import('./popup-factory.js').PopupFactory} */
this._popupFactory = popupFactory;
/** @type {number} */
this._depth = depth;
@@ -70,7 +68,7 @@ export class Frontend {
this._allowRootFramePopupProxy = allowRootFramePopupProxy;
/** @type {boolean} */
this._childrenSupported = childrenSupported;
- /** @type {HotkeyHandler} */
+ /** @type {import('../input/hotkey-handler.js').HotkeyHandler} */
this._hotkeyHandler = hotkeyHandler;
/** @type {?import('popup').PopupAny} */
this._popup = null;