Skip to content

Commit

Permalink
Make sure themes come in if no config present
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Radchenko committed Oct 14, 2014
1 parent 88e5a6e commit ba5b7ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
var projectConfig = this.project.config(app.env);
var config = projectConfig['ember-cli-toggle'];

if (config && Object.keys(config).length) {
if (config) {
var allThemes = ['light', 'ios', 'default', 'flat', 'skewed', 'flip'];
var included = config.includedThemes;
var excluded = config.excludedThemes;
Expand Down

0 comments on commit ba5b7ec

Please sign in to comment.