Skip to content

Commit

Permalink
Export DOM classes
Browse files Browse the repository at this point in the history
This exports the classes for Document, DocumentFragment, Element, NodeList and LiveNodeList, to allow them to be extended and modified by clients implementing this library.
  • Loading branch information
atkinchris committed Jun 2, 2018
1 parent 366159a commit 41c0cf3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -1237,4 +1237,20 @@ try{
//if(typeof require == 'function'){
exports.DOMImplementation = DOMImplementation;
exports.XMLSerializer = XMLSerializer;

exports.Attr = Attr;
exports.CharacterData = CharacterData;
exports.Comment = Comment;
exports.Document = Document;
exports.DocumentFragment = DocumentFragment;
exports.DOMException = DOMException;
exports.DOMImplementation = DOMImplementation;
exports.Element = Element;
exports.NamedNodeMap = NamedNodeMap;
exports.Node = Node;
exports.NodeList = NodeList;
exports.Text = Text;

exports.ExceptionCode = ExceptionCode;
exports.LiveNodeList = LiveNodeList;
//}

0 comments on commit 41c0cf3

Please sign in to comment.