Configuration functions
- Source:
- config.js
Requires
Methods
-
changed(key)
-
Determine if a key has changed since last save
Parameters:
Name Type Description key
string The key
- Source:
- config.js
Returns:
True if changed, False otherwise.
- Type
- boolean
-
init(options)
-
Public init for configuration object
Parameters:
Name Type Description options
object Existing options to extend
- Source:
- config.js
Returns:
Success
- Type
- boolean
-
inspect(key)
-
Print Cocoa and JS config objects to console
Parameters:
Name Type Description key
string A specific key to print
- Source:
- config.js
-
setDebug(level)
-
Set the debug level
Parameters:
Name Type Description level
number The debug level
- Source:
- config.js
-
update( [options])
-
Update the configuration with new config
Parameters:
Name Type Argument Description options
object <optional>
Options (unused)
- Source:
- config.js