linstula / ember-cli-bootstrap

ember-cli addon for Twitter Bootstrap
37 stars 20 forks source link

[BUG] This fixes issue #11. This occurs when no options are specified #12

Closed jolson88 closed 10 years ago

jolson88 commented 10 years ago

Fixes issue #11 (when running on new ember-cli 0.0.42). When no options are defined in the ember-cli project's brocfile.js, then the options object will be undefined. So ensure that the options object exists before looking for its components or import properties.

Made these small changes and verified that Hello World "{{bs-alert message="A self destroyable hello world message!" type="info" dismissAfter=2 fade=true}}" now works in my ember-cli project after this change.

linstula commented 10 years ago

Thanks!