(obj, divRef)
| 172 | } |
| 173 | |
| 174 | function displayVtCountData(obj, divRef) { |
| 175 | var cSpan = document.getElementById(divRef) |
| 176 | if (Object.hasOwn(obj, "count")) { |
| 177 | cSpan.innerHTML = obj.count; |
| 178 | } else if (Object.hasOwn(obj, "message")) { |
| 179 | cSpan.innerHTML = "Error: " + obj.message; |
| 180 | } else { |
| 181 | cSpan.innerHTML = "Error parsing response"; |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | function fetch_vt_records(type, count) { |
| 186 | var url, query; |
nothing calls this directly
no outgoing calls
no test coverage detected