MCPcopy Create free account
hub / github.com/idank/explainshell / helpselector

Function helpselector

explainshell/web/static/js/es.js:307–311  ·  view source on GitHub ↗
(commandselector)

Source from the content-addressed store, hash-verified

305
306// return the matching <pre> in .help for each item in commandselector
307function helpselector(commandselector) {
308 return commandselector.map(function (span) {
309 return document.getElementById(this.getAttribute('helpref'));
310 });
311}
312
313// return the <span>'s in #command that are linked to each <pre> in pres
314function optionsselector(pres, spans) {

Callers 2

drawgrouplinesFunction · 0.85
clearFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected