UNPKG

dynamictemplate

Version:
91 lines (86 loc) 3.56 kB
(function() { var schema, self_closing; schema = { 'none': function() { return ""; }, 'xml': function() { return "" + (schema.none()); }, 'html': function() { return ("" + (schema.xml()) + " " + (schema['html-obsolete']()) + " iframe label legend ") + ("" + (self_closing.html()) + " html body div ul li a b body button colgroup ") + "dfn div dl dt em dd del form h1 h2 h3 h4 h5 h6 head hgroup html ins " + "li map i mark menu meter nav noscript object ol optgroup option p " + "pre script select small span strong style sub sup table tbody tfoot " + "td textarea th thead title tr u ul"; }, 'html5': function() { return ("" + (schema.html()) + " " + (self_closing.html5()) + " section article video q s ") + "audio abbr address aside bdi bdo blockquote canvas caption cite code " + "datalist details fieldset figcaption figure footer header kbd output " + "progress rp rt ruby samp summary time"; }, 'strict': function() { return "" + (schema.html()); }, 'xhtml': function() { return "" + (schema.html()); }, 'xhtml1.1': function() { return "" + (schema.xhtml()); }, 'frameset': function() { return "" + (schema.xhtml()); }, 'transitional': function() { return "" + (schema.xhtml()); }, 'mobile': function() { return "" + (schema.xhtml()); }, 'html-ce': function() { return "" + (schema.xhtml()); }, 'html-obsolete': function() { return "applet acronym bgsound dir frameset noframes isindex listing nextid " + "noembed plaintext rb strike xmp big blink center font marquee nobr " + "multicol spacer tt"; }, "svg1.1": function() { return "altGlyph altGlyphDef altGlyphItem animate animateColor animateMotion" + "a animateTransform circle clipPath color-profile cursor defs desc" + "ellipse feBlend feColorMatrix feComponentTransfer feComposite" + "feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight" + "feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage" + "feMerge feMergeNode feMorphology feOffset fePointLight feSpotLight" + "feSpecularLighting feTile feTurbulence linearGradient polyline" + "filter font font-face font-face-format font-face-name font-face-src" + "font-face-uri foreignObject g glyph glyphRef hkern image line" + "marker mask metadata missing-glyph mpath path pattern polygon" + "radialGradient rect script set stop style svg switch symbol text" + "textPath title tref tspan use view vkern"; } }; self_closing = { 'none': function() { return true; }, 'xml': function() { return false; }, 'svg1.1': function() { return true; }, 'html': function() { return "area br col embed hr img input link meta param"; }, 'html5': function() { return "" + (self_closing.html()) + " base command keygen source track wbr main"; }, 'mobile': function() { return "" + (self_closing.xhtml()); }, 'html-ce': function() { return "" + (self_closing.xhtml()); }, 'strict': function() { return "" + (self_closing.xhtml()); }, 'xhtml1.1': function() { return "" + (self_closing.xhtml()); }, 'xhtml': function() { return "" + (self_closing.html()); }, 'frameset': function() { return "" + (self_closing.xhtml()); }, 'transitional': function() { return "" + (self_closing.xhtml()); } }; module.exports = { self_closing: self_closing, schema: schema }; }).call(this);