diff --git a/app/components/x-toggle.js b/app/components/x-toggle.js index 1fb5d26..38dee82 100644 --- a/app/components/x-toggle.js +++ b/app/components/x-toggle.js @@ -4,7 +4,7 @@ import ENV from '../config/environment'; var observer = Ember.observer; var on = Ember.on; var computed = Ember.computed; -var config = ENV['ember-cli-toggle']; +var config = ENV['ember-cli-toggle'] || {}; export default Ember.Component.extend({ tagName: 'span',