mirror of
https://github.com/atom/atom.git
synced 2026-01-21 04:48:12 -05:00
rename method
This commit is contained in:
@@ -709,7 +709,7 @@ class Config
|
||||
@scopedSettingsStore.getPropertyValue(scopeChain, keyPath)
|
||||
|
||||
# TODO: figure out how to remove this. Only language mode uses it for one thing.
|
||||
settingsForScopeDescriptor: (scopeDescriptor, keyPath) ->
|
||||
scopedSettingsForScopeDescriptor: (scopeDescriptor, keyPath) ->
|
||||
scopeChain = scopeDescriptor
|
||||
.map (scope) ->
|
||||
scope = ".#{scope}" unless scope[0] is '.'
|
||||
|
||||
@@ -56,5 +56,5 @@ class Syntax extends GrammarRegistry
|
||||
atom.config.getRawScopedValue(scope, keyPath)
|
||||
|
||||
propertiesForScope: (scope, keyPath) ->
|
||||
deprecate 'A direct (but private) replacement is available at atom.config.settingsForScopeDescriptor().'
|
||||
atom.config.settingsForScopeDescriptor(scope, keyPath)
|
||||
deprecate 'A direct (but private) replacement is available at atom.config.scopedSettingsForScopeDescriptor().'
|
||||
atom.config.scopedSettingsForScopeDescriptor(scope, keyPath)
|
||||
|
||||
Reference in New Issue
Block a user