mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Add loadThemes() to atom global
This commit is contained in:
@@ -129,6 +129,9 @@ window.atom =
|
||||
packages.push(metadata)
|
||||
packages
|
||||
|
||||
loadThemes: ->
|
||||
@themes.load()
|
||||
|
||||
watchThemes: ->
|
||||
@themes.on 'reloaded', =>
|
||||
@reloadBaseStylesheets()
|
||||
|
||||
@@ -45,7 +45,7 @@ window.startEditorWindow = ->
|
||||
config.load()
|
||||
keymap.loadBundledKeymaps()
|
||||
atom.loadBaseStylesheets()
|
||||
atom.themes.load()
|
||||
atom.loadThemes()
|
||||
atom.loadPackages()
|
||||
deserializeEditorWindow()
|
||||
atom.activatePackages()
|
||||
|
||||
Reference in New Issue
Block a user