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

Function buildCommon_makeAnchor

static/katex/katex.js:5643–5647  ·  view source on GitHub ↗
(href, classes, children, options)

Source from the content-addressed store, hash-verified

5641
5642
5643var buildCommon_makeAnchor = function makeAnchor(href, classes, children, options) {
5644 var anchor = new domTree_Anchor(href, classes, children, options);
5645 sizeElementFromChildren(anchor);
5646 return anchor;
5647};
5648/**
5649 * Makes a document fragment with the given list of children.
5650 */

Callers

nothing calls this directly

Calls 1

sizeElementFromChildrenFunction · 0.70

Tested by

no test coverage detected