jasonm23/phoenix — pull request #12 by gwww (2014-09-14 23:19:42+00:00)
Title: api.cancelAlerts()

Add new api.cancelAlerts() command. Removes all api.alert(...)'s that are on the screen.

Use case: when using modal window management I do a api.alert("Window management active", 999999). When I exit modal window management mode I do a api.cancelAlerts() which removes all messages on the screen.