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

Function owner_detail_renderer

web_server/public/javascripts/api.js:421–433  ·  view source on GitHub ↗

* Renders the owner details. * @param owner_details: The owner information * @param type: The type of search performed * @param div_id: The div id to be populated

(owner_details, type, div_id)

Source from the content-addressed store, hash-verified

419 * @param div_id: The div id to be populated
420 */
421function owner_detail_renderer(owner_details, type, div_id) {
422 if (!owner_details.length) {
423 return;
424 }
425 switch (type) {
426 case 'host':
427 host_owner_detail_renderer(owner_details, div_id);
428 break;
429 case 'ip':
430 ip_owner_detail_renderer(owner_details, div_id);
431 break;
432 }
433}
434
435/**
436 * Renders the ownership information of the domain.

Callers 1

ibloxOwnerFunction · 0.85

Calls 2

ip_owner_detail_rendererFunction · 0.85

Tested by

no test coverage detected