mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-06 23:26:25 +03:00
Use subscribe instead of on
This commit is contained in:
parent
bdddb4eb52
commit
c3e462db00
@ -32,7 +32,7 @@ class Atom
|
||||
ContextMenuManager = require './context-menu-manager'
|
||||
|
||||
@packages = new PackageManager()
|
||||
@packages.on 'loaded', => @watchThemes()
|
||||
@subscribe @packages, 'loaded', => @watchThemes()
|
||||
@themes = new ThemeManager()
|
||||
@contextMenu = new ContextMenuManager(@getLoadSettings().devMode)
|
||||
@config = new Config()
|
||||
|
Loading…
Reference in New Issue
Block a user