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

Function buildCommon_wrapFragment

static/katex/katex.js:5664–5670  ·  view source on GitHub ↗
(group, options)

Source from the content-addressed store, hash-verified

5662
5663
5664var buildCommon_wrapFragment = function wrapFragment(group, options) {
5665 if (group instanceof tree_DocumentFragment) {
5666 return buildCommon_makeSpan([], [group], options);
5667 }
5668
5669 return group;
5670}; // These are exact object types to catch typos in the names of the optional fields.
5671
5672
5673// Computes the updated `children` list and the overall depth.

Callers

nothing calls this directly

Calls 1

buildCommon_makeSpanFunction · 0.85

Tested by

no test coverage detected