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

Function create_div_data

web_server/public/javascripts/api.js:672–682  ·  view source on GitHub ↗
(idRef, data)

Source from the content-addressed store, hash-verified

670}
671
672function create_div_data(idRef, data) {
673 let displayDiv = document.createElement('div');
674 displayDiv.setAttribute("id", idRef + "_data");
675 displayDiv.setAttribute("class", "tableCell tableBorder alignCenter");
676 if (typeof data === "string") {
677 displayDiv.innerHTML = data;
678 } else {
679 displayDiv.appendChild(data);
680 }
681 return (displayDiv);
682}
683
684function addCountBox(results, source) {
685 if (results['count'] !== 0) {

Callers 1

addCountBoxFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected