From 199adf6d55f3ad576dbc34cc9f251035384aceda Mon Sep 17 00:00:00 2001 From: Jared He Date: Mon, 21 Jun 2021 11:33:44 -0400 Subject: [PATCH] Remove comment --- scripts/mdx-scripts/event-conversion.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/mdx-scripts/event-conversion.js b/scripts/mdx-scripts/event-conversion.js index dcc4738..f824508 100644 --- a/scripts/mdx-scripts/event-conversion.js +++ b/scripts/mdx-scripts/event-conversion.js @@ -58,8 +58,7 @@ const nodeChildrenToString = (nodeChildren) => { const parseXML = (XML) => { const xmlDoc = libxmljs.parseHtml(XML); let eventdefsChildren = xmlDoc.get("//eventdefs").childNodes(); - eventdefsChildren.forEach((eventItem) => { - // sometimes there's events that are commented out, hopefully this catches that + eventdefsChildren.forEach((eventItem) => {`` if (eventItem.type() === "element") { const title = eventItem.attr("title").value(); const shortNodes = eventItem.get(".//short").childNodes();