mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Mark getNotifications as public and return an array copy
This commit is contained in:
@@ -78,7 +78,10 @@ class NotificationManager
|
||||
Section: Getting Notifications
|
||||
###
|
||||
|
||||
getNotifications: -> @notifications
|
||||
# Public: Get all the notifications.
|
||||
#
|
||||
# Returns an {Array} of {Notifications}s.
|
||||
getNotifications: -> @notifications.slice()
|
||||
|
||||
###
|
||||
Section: Managing Notifications
|
||||
|
||||
Reference in New Issue
Block a user