From ba5b7ec9dbe03ab00004a0fdaf1cc49b36bea0ff Mon Sep 17 00:00:00 2001 From: Ilya Radchenko Date: Tue, 14 Oct 2014 08:37:30 -0400 Subject: [PATCH] Make sure themes come in if no config present --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 38b612c..f689f82 100644 --- a/index.js +++ b/index.js @@ -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;