Sha256: 80e7e2bd7d889c1d28ca702a2eea3fb98f1bbc9ffbdc28535f75faf63c3fb1ce
Contents?: true
Size: 796 Bytes
Versions: 41
Compression:
Stored size: 796 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Tests whether an element is a tag or not. * * @param elem Element to test */ function isTag(elem) { return (elem.type === "tag" /* Tag */ || elem.type === "script" /* Script */ || elem.type === "style" /* Style */); } exports.isTag = isTag; // Exports for backwards compatibility exports.Text = "text" /* Text */; //Text exports.Directive = "directive" /* Directive */; //<? ... ?> exports.Comment = "comment" /* Comment */; //<!-- ... --> exports.Script = "script" /* Script */; //<script> tags exports.Style = "style" /* Style */; //<style> tags exports.Tag = "tag" /* Tag */; //Any tag exports.CDATA = "cdata" /* CDATA */; //<![CDATA[ ... ]]> exports.Doctype = "doctype" /* Doctype */;
Version data entries
41 entries across 41 versions & 6 rubygems
Version | Path |
---|---|
ezii-os-0.0.0.0.1 | node_modules/dom-serializer/node_modules/domelementtype/lib/index.js |