From ab96e5b5fdfd57f942d6e9ff5b21368b30068257 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 9 Sep 2014 13:58:01 -0700 Subject: [PATCH] :lipstick: Fix doc string --- src/decoration.coffee | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/decoration.coffee b/src/decoration.coffee index cd5035e5f..7216aee18 100644 --- a/src/decoration.coffee +++ b/src/decoration.coffee @@ -61,13 +61,16 @@ class Decoration # Essential: When the {Decoration} is updated via {Decoration::update}. # - # * `event` {Object} - # * `oldProperties` {Object} the old parameters the decoration used to have - # * `newProperties` {Object} the new parameters the decoration now has + # * `callback` {Function} + # * `event` {Object} + # * `oldProperties` {Object} the old parameters the decoration used to have + # * `newProperties` {Object} the new parameters the decoration now has onDidChangeProperties: (callback) -> @emitter.on 'did-change-properties', callback # Essential: Invoke the given callback when the {Decoration} is destroyed + # + # * `callback` {Function} onDidDestroy: (callback) -> @emitter.on 'did-destroy', callback