Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / domelementtype / index.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/domelementtype/index.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/domelementtype/index.js
new file mode 100644 (file)
index 0000000..ab15b0f
--- /dev/null
@@ -0,0 +1,15 @@
+//Types of elements found in the DOM
+module.exports = {
+       Text: "text", //Text
+       Directive: "directive", //<? ... ?>
+       Comment: "comment", //<!-- ... -->
+       Script: "script", //<script> tags
+       Style: "style", //<style> tags
+       Tag: "tag", //Any tag
+       CDATA: "cdata", //<![CDATA[ ... ]]>
+       Doctype: "doctype",
+
+       isTag: function(elem){
+               return elem.type === "tag" || elem.type === "script" || elem.type === "style";
+       }
+};