Remove deprecated calls for config.observe .. callNow: false in core

This commit is contained in:
Ben Ogle
2014-09-25 14:06:04 -07:00
parent e607d45f0d
commit 22fb5adda9
4 changed files with 6 additions and 6 deletions

View File

@@ -113,8 +113,8 @@ class TextEditor extends Model
@emit 'scroll-left-changed', scrollLeft
@emitter.emit 'did-change-scroll-left', scrollLeft
@subscribe atom.config.observe 'editor.showInvisibles', callNow: false, (show) => @updateInvisibles()
@subscribe atom.config.observe 'editor.invisibles', callNow: false, => @updateInvisibles()
@subscribe atom.config.onDidChange 'editor.showInvisibles', => @updateInvisibles()
@subscribe atom.config.onDidChange 'editor.invisibles', => @updateInvisibles()
atom.workspace?.editorAdded(this) if registerEditor