Skip to content

Commit

Permalink
Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav committed Feb 13, 2024
1 parent 482de7d commit b38f5bb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ function flush(s) {
s.nodes_len >= 0,
"nodes_len should never below 0",
)
console.log(`flush: "${s.text}"`)
if (s.text.length > 0) {
s.nodes_elem[s.nodes_len].appendChild(document.createTextNode(s.text))
s.text = ""
Expand Down Expand Up @@ -90,8 +89,6 @@ function addNode(s, type, container_el, text_el = container_el) {
* @param {string } chunk
* @returns {void } */
function addChunk(s, chunk) {
console.log(`chunk: "${chunk}"`)

if (s.nodes_len === 0) {
addNode(s, MdNodeType.Text, document.createElement("p"))
}
Expand Down

0 comments on commit b38f5bb

Please sign in to comment.