()
| 67 | } |
| 68 | |
| 69 | function cleanUp() { |
| 70 | if(!n) return; |
| 71 | // remove all alerts |
| 72 | container.selectAll('img').remove(); |
| 73 | // clear all intervals |
| 74 | alertIntervals.forEach(function(value, index) { |
| 75 | clearInterval(value); |
| 76 | }); |
| 77 | // phew |
| 78 | module.bot.dialogue(outroDialogue); |
| 79 | // detach |
| 80 | container.on("click", null); |
| 81 | } |
| 82 | |
| 83 | function addAlert() { |
| 84 |
nothing calls this directly
no outgoing calls
no test coverage detected