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

Function buildCommon_makeFragment

static/katex/katex.js:5653–5657  ·  view source on GitHub ↗
(children)

Source from the content-addressed store, hash-verified

5651
5652
5653var buildCommon_makeFragment = function makeFragment(children) {
5654 var fragment = new tree_DocumentFragment(children);
5655 sizeElementFromChildren(fragment);
5656 return fragment;
5657};
5658/**
5659 * Wraps group in a span if it's a document fragment, allowing to apply classes
5660 * and styles

Callers 1

buildCommon_makeOrdFunction · 0.85

Calls 1

sizeElementFromChildrenFunction · 0.70

Tested by

no test coverage detected