Skip to content

Commit

Permalink
fix(core dom): Avoid circular imports.
Browse files Browse the repository at this point in the history
Remove BBB export "add_event_listener" and "remove_event_listener" to avoid circular imports.
This fixes a test-run problem in pat-tiptap and was long overdue anyways.
  • Loading branch information
thet committed Aug 19, 2024
1 parent 76cc12a commit 962d5f2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/dom.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* Utilities for DOM traversal or navigation */
import events from "./events";
import logging from "./logging";

const logger = logging.getLogger("core dom");
Expand Down Expand Up @@ -606,8 +605,6 @@ const dom = {
escape_css_id: escape_css_id,
element_uuid: element_uuid,
find_form: find_form,
add_event_listener: events.add_event_listener, // BBB export. TODO: Remove in an upcoming version.
remove_event_listener: events.remove_event_listener, // BBB export. TODO: Remove in an upcoming version.
};

export default dom;

0 comments on commit 962d5f2

Please sign in to comment.