Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

refac: refactoring nodeType by adding a NODE_TYPE object #948

Merged
merged 1 commit into from
May 5, 2024

Conversation

ssi02014
Copy link
Contributor

@ssi02014 ssi02014 commented May 3, 2024

Summary

Hi! 馃憢 @cure53
It seems that there is a very slight inconvenience in understanding the code because nodeType is currently compared by numbers.

I'm hoping that by adding a NODE_TYPE object, we can provide more readable code!

ENTITY_REFERENCE_NODE(5), ENTITY_NODE(6), and NOTATION_NODE(7) are deprecated, but I've added all of them.

MDN-NodeType

@cure53
Copy link
Owner

cure53 commented May 3, 2024

Oh, nice, I like that idea, thank you! Would you mind re-sending the PR? We worked on stuff in the meantime and don't want to clear the conflicts manually 馃槢 Thanks!

@ssi02014
Copy link
Contributor Author

ssi02014 commented May 3, 2024

Oh, nice, I like that idea, thank you! Would you mind re-sending the PR? We worked on stuff in the meantime and don't want to clear the conflicts manually 馃槢 Thanks!

@cure53 Of course! I have updated and committed again. Thank you! 馃

@cure53 cure53 merged commit 0b63a98 into cure53:main May 5, 2024
8 checks passed
@cure53
Copy link
Owner

cure53 commented May 5, 2024

Epic, thank you 馃檪

@ssi02014 ssi02014 deleted the refac/purify branch May 5, 2024 11:33
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.

None yet

2 participants