MCPcopy
hub / github.com/mongodb/node-mongodb-native / isLeafNode

Function isLeafNode

docs/2.2/js/navbar.js:23–25  ·  docs/2.2/js/navbar.js::isLeafNode
($node)

Source from the content-addressed store, hash-verified

21 }
22
23 function isLeafNode($node) {
24 return !$node.siblings(class="st">'ul:not(.simple)').length;
25 }
26
27 var $current = $(class="st">'.sidebar a.current');
28 if (isLeafNode($current) || requiresPageload($current) || isCurrentNode($current)) {

Callers 1

navbar.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected