mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Fix onDidChange usage
This commit is contained in:
@@ -35,7 +35,7 @@ class TokenizedBuffer extends Model
|
||||
|
||||
@subscribe @$tabLength.changes, (tabLength) => @retokenizeLines()
|
||||
|
||||
@subscribe atom.config.onDidChange 'editor.tabLength', (value) => @setTabLength(value)
|
||||
@subscribe atom.config.onDidChange 'editor.tabLength', ({newValue}) => @setTabLength(newValue)
|
||||
|
||||
@reloadGrammar()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user