Fix doc to match implementation

This commit is contained in:
Ben Ogle
2014-09-29 15:37:34 -07:00
parent 33b25c7312
commit f3ed3dc357

View File

@@ -34,8 +34,8 @@ pathWatcher = require 'pathwatcher'
# If you want a notification only when the value changes, use {::onDidChange}.
#
# ```coffee
# atom.config.onDidChange 'my-package.myKey', (newValue) ->
# console.log 'My configuration changed:', newValue
# atom.config.onDidChange 'my-package.myKey', ({newValue, oldValue}) ->
# console.log 'My configuration changed:', newValue, oldValue
# ```
#
# ### Value Coercion