MCPcopy Create free account
hub / github.com/BloombergGraphics/whatiscode / cleanUp

Function cleanUp

modules/crapplets/crapplets.js:69–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected