From 86cdc61ff0ac3efd2b077edc58f0d777a3f00d86 Mon Sep 17 00:00:00 2001 From: Ross Allen Date: Tue, 14 Jun 2016 07:34:32 -0700 Subject: [PATCH] Correctly reference `onDidClick`, not `onClick` --- src/notification-manager.coffee | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/notification-manager.coffee b/src/notification-manager.coffee index 7b712e6bf..aaeb75c15 100644 --- a/src/notification-manager.coffee +++ b/src/notification-manager.coffee @@ -37,9 +37,9 @@ class NotificationManager # following options: # * `className` (optional) {String} additional class name add to the # button. It will already receive `btn btn-success`. - # * `onClick` (optional) {Function} callback to call when the button is - # clicked. The context will be set to the {NotificationElement} - # instance. + # * `onDidClick` (optional) {Function} callback to call when the button + # has been clicked. The context will be set to the + # {NotificationElement} instance. # * `text` {String} inner text for the button # * `description` (optional) A {String} that will be rendered as Markdown # to describe the notification. @@ -60,9 +60,9 @@ class NotificationManager # following options: # * `className` (optional) {String} additional class name add to the # button. It will already receive `btn btn-info`. - # * `onClick` (optional) {Function} callback to call when the button is - # clicked. The context will be set to the {NotificationElement} - # instance. + # * `onDidClick` (optional) {Function} callback to call when the button + # has been clicked. The context will be set to the + # {NotificationElement} instance. # * `text` {String} inner text for the button # * `description` (optional) A {String} that will be rendered as Markdown # to describe the notification. @@ -83,9 +83,9 @@ class NotificationManager # following options: # * `className` (optional) {String} additional class name add to the # button. It will already receive `btn btn-warning`. - # * `onClick` (optional) {Function} callback to call when the button is - # clicked. The context will be set to the {NotificationElement} - # instance. + # * `onDidClick` (optional) {Function} callback to call when the button + # has been clicked. The context will be set to the + # {NotificationElement} instance. # * `text` {String} inner text for the button # * `description` (optional) A {String} that will be rendered as Markdown # to describe the notification. @@ -106,9 +106,9 @@ class NotificationManager # following options: # * `className` (optional) {String} additional class name add to the # button. It will already receive `btn btn-error`. - # * `onClick` (optional) {Function} callback to call when the button is - # clicked. The context will be set to the {NotificationElement} - # instance. + # * `onDidClick` (optional) {Function} callback to call when the button + # has been clicked. The context will be set to the + # {NotificationElement} instance. # * `text` {String} inner text for the button # * `description` (optional) A {String} that will be rendered as Markdown # to describe the notification. @@ -131,9 +131,9 @@ class NotificationManager # following options: # * `className` (optional) {String} additional class name add to the # button. It will already receive `btn btn-error`. - # * `onClick` (optional) {Function} callback to call when the button is - # clicked. The context will be set to the {NotificationElement} - # instance. + # * `onDidClick` (optional) {Function} callback to call when the button + # has been clicked. The context will be set to the + # {NotificationElement} instance. # * `text` {String} inner text for the button # * `description` (optional) A {String} that will be rendered as Markdown # to describe the notification.