From 82990cfc778309a2ab59ff86f2afa3e6fb3601ed Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 1 Oct 2014 18:14:16 -0700 Subject: [PATCH] rename method --- src/config.coffee | 2 +- src/syntax.coffee | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config.coffee b/src/config.coffee index 2d26060b7..8b07e01cb 100644 --- a/src/config.coffee +++ b/src/config.coffee @@ -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 '.' diff --git a/src/syntax.coffee b/src/syntax.coffee index 10f9cda98..7a7b8feb8 100644 --- a/src/syntax.coffee +++ b/src/syntax.coffee @@ -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)