Skip to content

Commit

Permalink
Fix when no configuration present, fixes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Radchenko committed Apr 28, 2015
1 parent 4a3590c commit 6d2405b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/x-toggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 6d2405b

Please sign in to comment.