//import config from '../config/environment';
import launchDarkly from '../services/launch-darkly';

export function initialize() {
  let application = arguments[1] || arguments[0];
  let serviceLookupName = `service:launchDarkly`;

  application.register(serviceLookupName, launchDarkly);
 // application.inject('route', serviceName, serviceLookupName);
 // application.inject('controller', serviceName, serviceLookupName);
 // application.inject('component', serviceName, serviceLookupName);
  application.inject(serviceLookupName, 'application', 'application:main');
  console.log('launchDarkly initializer');
}

export default {
  name: 'ember-cli-launch-darkly',
  initialize
};

@@ -1,50 +1,4 @@
-//import config from '../config/environment';%0A
 impo
@@ -241,212 +241,8 @@
 y);%0A
- // application.inject('route', serviceName, serviceLookupName);%0A // application.inject('controller', serviceName, serviceLookupName);%0A // application.inject('component', serviceName, serviceLookupName);%0A
   ap
@@ -317,51 +317,8 @@
 ');%0A
-  console.log('launchDarkly initializer');%0A
 %7D%0A%0Ae

remove console log on init