Skip to content

Commit

Permalink
Add missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuuuube committed Dec 17, 2024
1 parent 882ebc4 commit 7b6dd22
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions ext/js/app/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {DynamicProperty} from '../core/dynamic-property.js';
import {EventDispatcher} from '../core/event-dispatcher.js';
import {EventListenerCollection} from '../core/event-listener-collection.js';
import {ExtensionError} from '../core/extension-error.js';
import {safePerformance} from '../core/safe-performance.js';
import {deepEqual} from '../core/utilities.js';
import {addFullscreenChangeEventListener, computeZoomScale, convertRectZoomCoordinates, getFullscreenElement} from '../dom/document-util.js';
import {loadStyle} from '../dom/style-util.js';
Expand Down
1 change: 1 addition & 0 deletions ext/js/comm/cross-frame-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {EventListenerCollection} from '../core/event-listener-collection.js';
import {ExtensionError} from '../core/extension-error.js';
import {parseJson} from '../core/json.js';
import {log} from '../core/log.js';
import {safePerformance} from '../core/safe-performance.js';

/**
* @augments EventDispatcher<import('cross-frame-api').CrossFrameAPIPortEvents>
Expand Down
15 changes: 8 additions & 7 deletions ext/js/language/text-scanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

import { ThemeController } from '../app/theme-controller.js';
import { EventDispatcher } from '../core/event-dispatcher.js';
import { EventListenerCollection } from '../core/event-listener-collection.js';
import { log } from '../core/log.js';
import { clone } from '../core/utilities.js';
import { anyNodeMatchesSelector, everyNodeMatchesSelector, getActiveModifiers, getActiveModifiersAndButtons, isPointInSelection } from '../dom/document-util.js';
import { TextSourceElement } from '../dom/text-source-element.js';
import {ThemeController} from '../app/theme-controller.js';
import {EventDispatcher} from '../core/event-dispatcher.js';
import {EventListenerCollection} from '../core/event-listener-collection.js';
import {log} from '../core/log.js';
import {safePerformance} from '../core/safe-performance.js';
import {clone} from '../core/utilities.js';
import {anyNodeMatchesSelector, everyNodeMatchesSelector, getActiveModifiers, getActiveModifiersAndButtons, isPointInSelection} from '../dom/document-util.js';
import {TextSourceElement} from '../dom/text-source-element.js';

const SCAN_RESOLUTION_EXCLUDED_LANGUAGES = new Set(['ja', 'zh', 'yue', 'ko']);

Expand Down

0 comments on commit 7b6dd22

Please sign in to comment.