Skip to content

Commit f65ac3a

Browse files
committed
Clean: remove debug logging.
1 parent 3632264 commit f65ac3a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

client/src/CodeMirror-integration.mts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ class DocBlockWidget extends WidgetType {
449449

450450
// See [toDom](https://codemirror.net/docs/ref/#view.WidgetType.toDOM).
451451
toDOM() {
452-
console.log("toDOM", this.delimiter, this.indent, this.contents);
453452
// Wrap this in an enclosing div.
454453
const wrap = document.createElement("div");
455454
wrap.className = "CodeChat-doc";
@@ -477,7 +476,6 @@ class DocBlockWidget extends WidgetType {
477476
// If this change was produced by a user edit, then the DOM was already
478477
// updated. Stop here.
479478
if (this.is_user_change) {
480-
console.log("updateDom - user change ignored.");
481479
return true;
482480
}
483481
(dom.childNodes[0] as HTMLDivElement).innerHTML = this.indent;
@@ -601,7 +599,6 @@ const on_dirty = (
601599
// The div that's dirty. It must be a child of the doc block div.
602600
event_target: HTMLElement,
603601
) => {
604-
console.log("on_dirty target", event_target.innerHTML);
605602
if (on_dirty_scheduled) {
606603
return;
607604
}
@@ -1152,7 +1149,6 @@ export const apply_diff_str = (before: string, diffs: StringDiff[]) => {
11521149

11531150
// Return the JSON data to save from the current CodeMirror-based document.
11541151
export const CodeMirror_save = (): CodeMirrorDiffable => {
1155-
console.log("Saving...");
11561152
// This is the data to write — the source code. First, transform the HTML
11571153
// back into code and doc blocks.
11581154
const code_mirror: CodeMirror = current_view.state.toJSON(

0 commit comments

Comments
 (0)