Add loadThemes() to atom global

This commit is contained in:
Ben Ogle
2013-09-04 12:24:32 -07:00
parent 2b2dc15ac1
commit 26e1df4127
2 changed files with 4 additions and 1 deletions

View File

@@ -129,6 +129,9 @@ window.atom =
packages.push(metadata)
packages
loadThemes: ->
@themes.load()
watchThemes: ->
@themes.on 'reloaded', =>
@reloadBaseStylesheets()

View File

@@ -45,7 +45,7 @@ window.startEditorWindow = ->
config.load()
keymap.loadBundledKeymaps()
atom.loadBaseStylesheets()
atom.themes.load()
atom.loadThemes()
atom.loadPackages()
deserializeEditorWindow()
atom.activatePackages()