Skip to content

Commit

Permalink
chore: removed unused attribute #readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
artaius committed Nov 5, 2024
1 parent 560bdf8 commit d14b7db
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/canvas_editor/init/canvas_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ function initCanvasEditor(
Reaction,
) {
class CanvasEditor {
#isReadOnly;
#editorArea;
// Can be useful for debugging.
/* eslint-disable no-unused-private-class-members */
Expand All @@ -22,7 +21,6 @@ function initCanvasEditor(
#destroy;

constructor(parentElement, options = {}) {
const { readOnly = false } = options;
const { editorArea, toolbar, uiHelper, destroy } = createEditor(
parentElement,
options,
Expand All @@ -33,7 +31,6 @@ function initCanvasEditor(
Molecule,
Reaction,
);
this.#isReadOnly = readOnly;
this.#editorArea = editorArea;
this.#toolbar = toolbar;
this.#uiHelper = uiHelper;
Expand Down

0 comments on commit d14b7db

Please sign in to comment.