* 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)
| 419 | * @param div_id: The div id to be populated |
| 420 | */ |
| 421 | function 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. |
no test coverage detected