MCPcopy Create free account
hub / github.com/TruthHun/BookStack / topLevelElement

Function topLevelElement

static/word2md/mammoth.browser.js:3083–3085  ·  view source on GitHub ↗
(tagName, attributes)

Source from the content-addressed store, hash-verified

3081exports.element = element;
3082
3083function topLevelElement(tagName, attributes) {
3084 return elements([element(tagName, attributes, {fresh: true})]);
3085}
3086
3087function elements(elementStyles) {
3088 return new HtmlPath(elementStyles.map(function(elementStyle) {

Callers

nothing calls this directly

Calls 2

elementsFunction · 0.70
elementFunction · 0.70

Tested by

no test coverage detected