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

Function visitDescendants

static/word2md/mammoth.browser.js:3237–3244  ·  view source on GitHub ↗
(element, visit)

Source from the content-addressed store, hash-verified

3235}
3236
3237function visitDescendants(element, visit) {
3238 if (element.children) {
3239 element.children.forEach(function(child) {
3240 visitDescendants(child, visit);
3241 visit(child);
3242 });
3243 }
3244}
3245
3246},{"underscore":153}],30:[function(require,module,exports){
3247var htmlPaths = require("./styles/html-paths");

Callers 1

getDescendantsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected