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; },