1 | //Types of elements found in the DOM
|
2 | module.exports = {
|
3 | Text: "text", //Plain text
|
4 | Directive: "directive", //Special tag <!...>
|
5 | Comment: "comment", //Special tag <!--...-->
|
6 | Script: "script", //Special tag <script>...</script>
|
7 | Style: "style", //Special tag <style>...</style>
|
8 | Tag: "tag", //Any tag that isn't special
|
9 | CDATA: "cdata"
|
10 | }; |
\ | No newline at end of file |