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 44343b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -1237,4 +1237,10 @@ try{
//if(typeof require == 'function'){
exports.DOMImplementation = DOMImplementation;
exports.XMLSerializer = XMLSerializer;

exports.Document = Document;
exports.DocumentFragment = DocumentFragment;
exports.Element = Element;
exports.LiveNodeList = LiveNodeList;
exports.NodeList = NodeList;
//}

0 comments on commit 44343b9

Please sign in to comment.