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

Function buildCommon_makeSpan

static/katex/katex.js:5618–5622  ·  view source on GitHub ↗
(classes, children, options, style)

Source from the content-addressed store, hash-verified

5616
5617
5618var buildCommon_makeSpan = function makeSpan(classes, children, options, style) {
5619 var span = new domTree_Span(classes, children, options, style);
5620 sizeElementFromChildren(span);
5621 return span;
5622}; // SVG one is simpler -- doesn't require height, depth, max-font setting.
5623// This is also a separate method for typesafety.
5624
5625

Callers 4

makeLineSpanFunction · 0.85
buildCommon_wrapFragmentFunction · 0.85
buildCommon_makeVListFunction · 0.85
buildCommon_makeGlueFunction · 0.85

Calls 1

sizeElementFromChildrenFunction · 0.70

Tested by

no test coverage detected