Skip to content

Commit d9e4bc2

Browse files
committed
Remove debug logging
#build
1 parent 28a44b8 commit d9e4bc2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/Editor.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,18 +169,18 @@
169169
...mapActions(useEditorCacheStore, ["getEditor", "addEditor", "eachEditor"]),
170170
171171
loadBuffer(path) {
172-
console.log("loadBuffer", path)
172+
//console.log("loadBuffer", path)
173173
if (this.editor) {
174174
this.editor.hide()
175175
}
176176
177177
let cachedEditor = this.getEditor(path)
178178
if (cachedEditor) {
179-
console.log("show cached editor")
179+
//console.log("show cached editor")
180180
this.editor = cachedEditor
181181
toRaw(this.editor).show()
182182
} else {
183-
console.log("create new editor")
183+
//console.log("create new editor")
184184
try {
185185
this.editor = new HeynoteEditor({
186186
element: this.$refs.editor,

src/editor/editor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,11 +343,11 @@ export class HeynoteEditor {
343343
}
344344

345345
hide() {
346-
console.log("hiding element", this.view.dom)
346+
//console.log("hiding element", this.view.dom)
347347
this.view.dom.style.setProperty("display", "none", "important")
348348
}
349349
show() {
350-
console.log("showing element", this.view.dom)
350+
//console.log("showing element", this.view.dom)
351351
this.view.dom.style.setProperty("display", "")
352352
triggerCursorChange(this.view)
353353
}

0 commit comments

Comments
 (0)