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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export DOM classes #238

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Export DOM classes #238

wants to merge 1 commit into from

Conversation

atkinchris
Copy link

This exports the classes for Document, DocumentFragment, Element, NodeList and LiveNodeList, to allow them to be extended and modified by clients implementing this library.

Partly addresses #235.

This exports the classes for Document, DocumentFragment, Element, NodeList and LiveNodeList, to allow them to be extended and modified by clients implementing this library.
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, I think LiveNodeList should not be exported since it does not appear to be exposed by the DOM standard (https://www.w3.org/TR/DOM-Level-3-Core/ecma-script-binding.html).

Nit: if you keep the exports splitted into three groups then maybe add a short comment between each group. Or you can also merge all them together into a single alphabetical list without line breaks.

@ghost
Copy link

ghost commented Oct 16, 2018

In fact, dom-parser.js also needs to be modified so as to re-export the DOM classes, since it is this file which is currently the entry point of the library.

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

1 participant