mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Notification::getTimestamp()
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
module.exports =
|
||||
class Notification
|
||||
constructor: (@type, @message, @options={}) ->
|
||||
@timestamp = new Date()
|
||||
|
||||
getOptions: -> @options
|
||||
|
||||
@@ -10,6 +11,8 @@ class Notification
|
||||
|
||||
getMessage: -> @message
|
||||
|
||||
getTimestamp: -> @timestamp
|
||||
|
||||
getDetail: -> @optons.detail
|
||||
|
||||
isClosable: ->
|
||||
|
||||
Reference in New Issue
Block a user