Overlay.js attaches an EVENT_EXIT to its constructor:
/* * Fires when close button is clicked. Not to be confused with hide event. * @memberof Overlay * @event Overlay#Overlay-exit */ Overlay.EVENT_EXIT = 'Overlay-exit';
However, nothing listens to this event. Let's make Overlay.js stop firing this event and remove all references to it from Overlay.js!
Acceptance criteria
- All references to EVENT_EXIT are removed from Overlay.js