Load themes after packages, since we depend on them

This commit is contained in:
Matt Colyer
2013-08-30 15:59:41 -07:00
parent a4dedeb92d
commit b1675714e6
3 changed files with 6 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ class ThemeManager
@trigger('reloaded')
activateTheme: (name) ->
theme = _.find(@registeredTheme, (t) -> t.metadata.name == name)
theme = _.find(@registeredThemes, (t) -> t.metadata.name == name)
return console.warn("Theme '#{name}' not found.") unless theme
try