MCPcopy Index your code
hub / github.com/helloxz/onenav / inputLabel

Function inputLabel

static/jQuery-contextMenu/jquery.contextMenu.js:1939–1941  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

1937
1938// find <label for="xyz">
1939 function inputLabel(node) {
1940 return (node.id && $('label[for="' + node.id + '"]').val()) || node.name;
1941 }
1942
1943// convert <menu> to items object
1944 function menuChildren(items, $children, counter) {

Callers 1

menuChildrenFunction · 0.85

Calls 1

$Function · 0.50

Tested by

no test coverage detected