Make notifications.clear public and emit event

This commit is contained in:
Tony Brix
2017-11-02 10:43:56 -05:00
committed by GitHub
parent 6277459691
commit c629a1aac4

View File

@@ -199,8 +199,10 @@ class NotificationManager {
/*
Section: Managing Notifications
*/
// Public: Clear all the notifications.
clear () {
this.notifications = []
this.emitter.emit('did-clear-notifications')
}
}