💄 Normalize the names of related subscription things

This commit is contained in:
Ben Ogle
2014-10-07 11:26:11 -07:00
parent d3b00f67f2
commit f662b3d745
4 changed files with 21 additions and 17 deletions

View File

@@ -413,8 +413,8 @@ TextEditorComponent = React.createClass
onGrammarChanged: ->
{editor} = @props
@scopedPropertySubscriptions?.dispose()
@scopedPropertySubscriptions = subscriptions = new CompositeDisposable
@scopedConfigSubscriptions?.dispose()
@scopedConfigSubscriptions = subscriptions = new CompositeDisposable
scopeDescriptor = editor.getGrammarScopeDescriptor()