/* jshint node: true */
'use strict';

module.exports = {
  name: 'ember-devtools',
  isEnabled: function() {
    var addonConfig = this.app.project.config(this.app.env)['ember-devtools'];
    return addonConfig.enabled;
  }
};

/* jshint node: true */
'use strict';

module.exports = {
  name: 'ember-devtools',
  isEnabled: function() {
    var options = (this.app && this.app.options && this.app.options['ember-devtools']) || {}
    return options.enabled;
  }
};

Update loading of options hash to be compatible with modern ember-cli
Update loading of options hash to be compatible with modern ember-cli
