Expose dom tree (#1446)

* Exposes domTree

* Exposing domTree

* Update per comment.
This commit is contained in:
Ryan Randall
2018-06-25 15:47:23 -04:00
committed by GitHub
parent 6195f2f176
commit f7880acb02

View File

@@ -189,4 +189,12 @@ export default {
* adds a new macro to builtin macro list
*/
__defineMacro: defineMacro,
/**
* Expose the dom tree node types, which can be useful for type checking nodes.
*
* NOTE: This method is not currently recommended for public use.
* The internal tree representation is unstable and is very likely
* to change. Use at your own risk.
*/
__domTree: domTree,
};