Skip to content

Commit

Permalink
Fix bug in included hook causing build error when used as nested addon (
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottShannon authored and aaronbhansen committed Nov 25, 2016
1 parent 9ff758f commit eb2a942
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 @@ -28,7 +28,7 @@ module.exports = {
name: 'semantic-ui-ember',

included: function (app) {
var options = (app && app.options['SemanticUI']) || {};
var options = (app && app.project.config(app.env)['SemanticUI']) || {};

var importCss = getDefault('import', 'css', [options, defaults]);
if (importCss) {
Expand Down

1 comment on commit eb2a942

@gbicou
Copy link

@gbicou gbicou commented on eb2a942 Mar 24, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation at http://semantic-org.github.io/Semantic-UI-Ember/#/modules/usage states that configuration is done in new EmberApp, it should be updated to reflect this change

Please sign in to comment.