MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / traverse

Function traverse

debug-plugin/content-script.js:237–247  ·  view source on GitHub ↗
(ge)

Source from the content-addressed store, hash-verified

235 };
236
237 const traverse = function (ge) {
238 const rv = [];
239
240 (function recurse(ge) {
241 rv.push(ge);
242 if ("children" in ge)
243 for (const child of ge.children) recurse(child);
244 })(ge);
245
246 return rv;
247 };
248
249 const makeCommandWidget = function (i) {
250 let html =

Callers 1

renderCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected