MCPcopy Create free account
hub / github.com/adobe/Marinus / show_distinct_fields

Function show_distinct_fields

web_server/public/javascripts/data.js:116–120  ·  view source on GitHub ↗
(obj, values)

Source from the content-addressed store, hash-verified

114}
115
116function show_distinct_fields(obj, values) {
117 let innerHTML = values[0] + ": " + obj.count.toString() + "<br/>";
118 let elem = document.getElementById(values[1]);
119 elem.innerHTML += innerHTML;
120}
121
122function get_counts(url, field_name) {
123 make_get_request(url, displayCountData, field_name, "errorMessage", JSON.parse('{"count": 0}'));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected