Return the value from restoreDefault

This commit is contained in:
Ben Ogle
2014-09-25 12:00:17 -07:00
parent 885a19492c
commit cb1f8e02aa

View File

@@ -400,6 +400,7 @@ class Config
# Returns the new value.
restoreDefault: (keyPath) ->
@set(keyPath, _.valueForKeyPath(@defaultSettings, keyPath))
@get(keyPath)
# Extended: Get the default value of the key path.
#