diff --git a/src/config.coffee b/src/config.coffee index 551240f31..9061d9771 100644 --- a/src/config.coffee +++ b/src/config.coffee @@ -222,11 +222,12 @@ class Config # # keyPath - The {String} name of the key to observe # options - An optional {Object} containing the `callNow` key. - # callback - The {Function} that fires when the. It is given a single argument, `value`, - # which is the new value of `keyPath`. + # callback - The {Function} that fires when the value of the key is + # changed. It is given a single argument, `value`, which is + # the new value of `keyPath`. # # Returns an {Object} with the following keys: - # :off - A {Function} that unobserves the `keyPath` with called. + # :off - A {Function} that unobserves the `keyPath` when called. observe: (keyPath, options={}, callback) -> if _.isFunction(options) callback = options