jindw / xmldom

A PURE JS W3C Standard based(XML DOM Level2 CORE) DOMParser and XMLSerializer.
Other
816 stars 265 forks source link

Export DOM classes #238

Open atkinchris opened 6 years ago

atkinchris commented 6 years ago

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 https://github.com/jindw/xmldom/issues/235.

ghost commented 5 years ago

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.