MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / any_parents

Function any_parents

MathBox/mathbox-core.js:305–311  ·  view source on GitHub ↗
(node, next, subj)

Source from the content-addressed store, hash-verified

303 }
304
305 function any_parents(node, next, subj) {
306 do {
307 node = options.parent(node)
308 } while(node && !next(node, subj))
309
310 return node
311 }
312
313 function direct_parent(node, next, subj) {
314 node = options.parent(node)

Callers

nothing calls this directly

Calls 1

nextFunction · 0.85

Tested by

no test coverage detected