From 7f05127288d6fa33a3a703fb480aa6b4ab524603 Mon Sep 17 00:00:00 2001 From: Stephen Date: Mon, 18 Dec 2023 17:21:55 +0100 Subject: [PATCH] Remove log --- modules/renderer/compile-node.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/renderer/compile-node.js b/modules/renderer/compile-node.js index 459d9c2..a6c371b 100644 --- a/modules/renderer/compile-node.js +++ b/modules/renderer/compile-node.js @@ -142,8 +142,7 @@ const compileNode = overload((renderers, node) => toType(node), { + '') + ' (' + message + ')' ; } -// If a text node asks for its own index here, how can that work when fragment text is inserted into a context with nodes before it? -console.log('INDEX', indexOf(node), node.parentNode); + renderers.push(new TextRenderer(path, indexOf(node), source, message, node)); return renderers; },