From 3f1a6cccddc0e4a58bd7844fc758675dc214ecb9 Mon Sep 17 00:00:00 2001 From: Arpita-Jaiswal Date: Thu, 5 Oct 2023 14:14:19 +0530 Subject: [PATCH] Remove logs --- fastn-js/js/dom.js | 3 --- fastn-js/js/utils.js | 1 - 2 files changed, 4 deletions(-) diff --git a/fastn-js/js/dom.js b/fastn-js/js/dom.js index dd36e1d0f3..6d088243f6 100644 --- a/fastn-js/js/dom.js +++ b/fastn-js/js/dom.js @@ -1878,11 +1878,8 @@ class Node2 { } else if (kind === fastn_dom.PropertyKind.StringValue) { this.#rawInnerValue = staticValue; if (!hydrating) { - console.log("Before staticValue", staticValue); staticValue = fastn_utils.markdown_inline(fastn_utils.escapeHtmlInMarkdown(staticValue)); - console.log("After staticValue", staticValue); staticValue = fastn_utils.process_post_markdown(this.#node, staticValue); - console.log("More After staticValue", staticValue); } else { staticValue = this.#node.innerHTML; } diff --git a/fastn-js/js/utils.js b/fastn-js/js/utils.js index 8ee7f78fc0..5fb80e50d9 100644 --- a/fastn-js/js/utils.js +++ b/fastn-js/js/utils.js @@ -255,7 +255,6 @@ let fastn_utils = { * @returns {string} - The processed string with inline markdown. */ markdown_inline(i) { - console.log("Before markdown_inline", i); if (fastn_utils.isNull(i)) return; const { space_before, space_after } = fastn_utils.private.spaces(i); const o = (() => {