import Em from 'ember';
import Config from 'ember-idx-utils/config'

export default {
  name: 'ember-idx-tabs',
  initialize: function() {
    if (!Em.Config) {
        Em.Config = Config = Config.create()
    }

    var defaultConfig = Config.getConfig('default');
    if (!defaultConfig) {
        Config.addConfig('default');
        defaultConfig = Config.getConfig('default');
    }

    defaultConfig['tabs'] = {
        tabsTag: ['div'],
        tabTag: ['li'],
        tabListTag: ['ul'],
        tabsClasses: ['em-tabs'],
        tabClasses: ['em-tab'],
        tabListClasses: ['em-tab-list'],
        tabPanelClasses: ['em-tab-panel']
    }

    //Bootstrap
    var bsConfig = Config.getConfig('bs');
    if (!bsConfig) {
        Config.addConfig('bs');
        bsConfig = Config.getConfig('bs');
    }
    bsConfig['tabs'] = {
        tabTag: ['li'],
        tabListTag: ['ul'],
        tabListClasses: ['nav', 'nav-tabs'],
        tabPanelClasses: ['em-tab-panel'],
        tabSelectedClasses: ['active']        
    }
  }
};
@@ -24,16 +24,19 @@
 %0Aimport 
+Idx
 Config f
@@ -143,55 +143,69 @@
     
-if (!Em.Config) %7B%0A       
+var Config = Em.IdxConfig =
  Em.
+Idx
 Config 
-= 
+? Em.Idx
 Config 
-= 
+: Idx
 Conf
@@ -215,22 +215,17 @@
 create()
-%0A    %7D
+;
 %0A%0A    va

Fix configuration.