Skip to content

Commit

Permalink
clean: clean console log.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 13, 2022
1 parent 9911664 commit 1afea16
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Sources/Markdown/Resources/web.bundle/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const markdownPreview = (content) => {
if (node.type == 'element' && node.tagName === 'pre') {
const codeid = randomid();
codeData[codeid] = code;
console.log(codeid, codeData)
node.children.push(copyElement(codeid));
}

Expand All @@ -29,7 +28,6 @@ const markdownPreview = (content) => {
__markdown_preview_dom__.innerHTML = markdown.default(content, options);
}


if (window.webkit) {
window.webkit.messageHandlers.mdPreviewDidReady.postMessage(null);
// __markdown_preview_dom__.innerHTML = JSON.stringify(typeof window.webkit.messageHandlers.mdPreviewDidReady)
Expand Down

0 comments on commit 1afea16

Please sign in to comment.