MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / show

Function show

lib/web/renderjson.js:96–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94 var content;
95 var empty = span(type);
96 var show = function() { if (!content) append(empty.parentNode,
97 content = prepend(builder(),
98 A(renderjson.hide, "disclosure",
99 function() { content.style.display="none";
100 empty.style.display="inline"; } )));
101 content.style.display="inline";
102 empty.style.display="none"; };
103 append(empty,
104 A(renderjson.show, "disclosure", show),
105 themetext(type+ " syntax", open),

Callers 4

disclosureFunction · 0.85
inject2Method · 0.85
runCommandsMethod · 0.85
joinCommandsMethod · 0.85

Calls 3

appendFunction · 0.70
prependFunction · 0.70
AFunction · 0.70

Tested by

no test coverage detected