mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
📝
This commit is contained in:
@@ -16,6 +16,10 @@ class MessageManager
|
||||
onDidAddMessage: (callback) ->
|
||||
@emitter.on 'did-add-message', callback
|
||||
|
||||
###
|
||||
Section: Adding Messages
|
||||
###
|
||||
|
||||
addSuccess: (messageString, options) ->
|
||||
@addMessage(new Message('success', messageString, options))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user