Mark getNotifications as public and return an array copy

This commit is contained in:
Kevin Sawicki
2015-04-22 09:41:50 -07:00
parent d4c1775cf7
commit 05fdc85282

View File

@@ -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