From 1afea16d25e6351af4fb8d546d4b6a2732a03245 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 14 Mar 2022 03:13:09 +0800 Subject: [PATCH] clean: clean console log. --- Sources/Markdown/Resources/web.bundle/main.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/Sources/Markdown/Resources/web.bundle/main.js b/Sources/Markdown/Resources/web.bundle/main.js index 3992b36..eb7e4b5 100644 --- a/Sources/Markdown/Resources/web.bundle/main.js +++ b/Sources/Markdown/Resources/web.bundle/main.js @@ -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)); } @@ -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)