Skip to content

Make HTML's html-dfn.js work, part 4 - #183

Open
annevk wants to merge 1 commit into
tobie:masterfrom
annevk:annevk/html-dfn-part-4
Open

Make HTML's html-dfn.js work, part 4#183
annevk wants to merge 1 commit into
tobie:masterfrom
annevk:annevk/html-dfn-part-4

Conversation

@annevk

@annevk annevk commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Some minor cleanup:

  • If all that was changed was html-dfn.js, PR Preview would emit "Error: EISDIR: illegal operation on a directory, read" due to lines() returning a list of 1 rather than 0.
  • Now that we use import() for xrefs.json in html-dfn.js, it always works as long as it is placed alongside it. This allows us to remove some code that now no-ops. We also remove a comment that states what the code does while there.

Some minor cleanup:

- If all that was changed was html-dfn.js, PR Preview would emit "Error: EISDIR: illegal operation on a directory, read" due to lines() returning a list of 1 rather than 0.
- Now that we use import() for xrefs.json in html-dfn.js, it always works as long as it is placed alongside it. This allows us to remove some code that now no-ops. We also remove a comment that states what the code does while there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant