From 94d470002b3f0314d0da4711bfdfc6edc89819ff Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Thu, 25 Sep 2014 14:01:14 -0700 Subject: [PATCH] Update doc strings --- src/config.coffee | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/config.coffee b/src/config.coffee index e1188e24f..847a86e13 100644 --- a/src/config.coffee +++ b/src/config.coffee @@ -319,11 +319,11 @@ class Config # than {::onDidChange} in that it will immediately call your callback with the # current value of the config entry. # - # * `keyPath` The {String} name of the key to observe - # * `callback` The {Function} to call when the value of the key changes. - # The first argument will be the new value of the key and the - #   second argument will be an {Object} with a `previous` property - # that is the prior value of the key. + # * `keyPath` {String} name of the key to observe + # * `callback` {Function} to call when the value of the key changes. + # * `value` the new value of the key + # * `event` {Object} + # * `previous` the prior value of the key. # # Returns a {Disposable} with the following keys on which you can call # `.dispose()` to unsubscribe. @@ -341,11 +341,11 @@ class Config # Essential: Add a listener for changes to a given key path. # - # * `keyPath` The {String} name of the key to observe - # * `callback` The {Function} to call when the value of the key changes. - # The first argument will be the new value of the key and the - #   second argument will be an {Object} with a `previous` property - # that is the prior value of the key. + # * `keyPath` {String} name of the key to observe + # * `callback` {Function} to call when the value of the key changes. + # * `value` the new value of the key + # * `event` {Object} + # * `previous` the prior value of the key. # # Returns a {Disposable} with the following keys on which you can call # `.dispose()` to unsubscribe.