rename method

This commit is contained in:
Ben Ogle
2014-10-01 18:14:16 -07:00
parent d72b179b3b
commit 82990cfc77
2 changed files with 3 additions and 3 deletions

View File

@@ -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 '.'

View File

@@ -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)