From 16d98c534c19f736d0e6bdbe608ee22aa941960e Mon Sep 17 00:00:00 2001 From: Ross Allen Date: Mon, 13 Jul 2015 14:36:08 -0700 Subject: [PATCH] Explain dismiss when called programmatically --- src/notification.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/notification.coffee b/src/notification.coffee index c76a7adf1..697587af6 100644 --- a/src/notification.coffee +++ b/src/notification.coffee @@ -64,8 +64,8 @@ class Notification and @getType() is other.getType() \ and @getDetail() is other.getDetail() - # Extended: Dismisses the notification, removing it from the UI. This will call all callbacks - # added via `onDidDismiss`. + # Extended: Dismisses the notification, removing it from the UI. Calling this programmatically + # will call all callbacks added via `onDidDismiss`. dismiss: -> return unless @isDismissable() and not @isDismissed() @dismissed = true