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

Function makeFragment

static/katex/katex.mjs:5622–5626  ·  view source on GitHub ↗
(children)

Source from the content-addressed store, hash-verified

5620
5621
5622const makeFragment = function makeFragment(children) {
5623 const fragment = new DocumentFragment(children);
5624 sizeElementFromChildren(fragment);
5625 return fragment;
5626};
5627/**
5628 * Wraps group in a span if it's a document fragment, allowing to apply classes
5629 * and styles

Callers 1

makeOrdFunction · 0.85

Calls 1

sizeElementFromChildrenFunction · 0.70

Tested by

no test coverage detected