diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2024-01-19 23:52:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 04:52:48 +0000 |
commit | 39265a43d969e1201cb5267789967b57835059b1 (patch) | |
tree | e6ff82234037b16782b85d77901b29bbe12137fd /ext/js/dom | |
parent | ffddc74f3d05061fc1e84d149ce678d116cedc4c (diff) |
Separate core classes into separate files (#545)
Diffstat (limited to 'ext/js/dom')
-rw-r--r-- | ext/js/dom/document-util.js | 2 | ||||
-rw-r--r-- | ext/js/dom/panel-element.js | 2 | ||||
-rw-r--r-- | ext/js/dom/popup-menu.js | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/ext/js/dom/document-util.js b/ext/js/dom/document-util.js index dc5393bf..235a42d0 100644 --- a/ext/js/dom/document-util.js +++ b/ext/js/dom/document-util.js @@ -386,7 +386,7 @@ export class DocumentUtil { /** * Adds a fullscreen change event listener. This function handles all of the browser-specific variants. * @param {EventListener} onFullscreenChanged The event callback. - * @param {?import('../core.js').EventListenerCollection} eventListenerCollection An optional `EventListenerCollection` to add the registration to. + * @param {?import('../core/event-listener-collection.js').EventListenerCollection} eventListenerCollection An optional `EventListenerCollection` to add the registration to. */ static addFullscreenChangeEventListener(onFullscreenChanged, eventListenerCollection = null) { const target = document; diff --git a/ext/js/dom/panel-element.js b/ext/js/dom/panel-element.js index 8d05bae5..9c1289d7 100644 --- a/ext/js/dom/panel-element.js +++ b/ext/js/dom/panel-element.js @@ -16,7 +16,7 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import {EventDispatcher} from '../core.js'; +import {EventDispatcher} from '../core/event-dispatcher.js'; /** * @augments EventDispatcher<import('panel-element').Events> diff --git a/ext/js/dom/popup-menu.js b/ext/js/dom/popup-menu.js index 94b896f6..8a8a19ba 100644 --- a/ext/js/dom/popup-menu.js +++ b/ext/js/dom/popup-menu.js @@ -16,7 +16,8 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import {EventDispatcher, EventListenerCollection} from '../core.js'; +import {EventDispatcher} from '../core/event-dispatcher.js'; +import {EventListenerCollection} from '../core/event-listener-collection.js'; import {querySelectorNotNull} from './query-selector.js'; /** |