var EmberEncore = {};

Ember.onLoad('Ember.Application', function(Application) {
  Application.initializer({
    name: 'EmberEncore',
    after: 'ember-data',
    initialize: function(container) {
      container.register('serializer:-encore', EmberEncore.Serializer);
      container.register('adapter:-encore', EmberEncore.Adapter);
    }
  });
});

var EmberEncore = {};

Ember.onLoad('Ember.Application', function(Application) {
  Application.initializer({
    name: 'EmberEncore',
    initialize: function(container) {
      container.register('serializer:-encore', EmberEncore.Serializer);
      container.register('adapter:-encore', EmberEncore.Adapter);
    }
  });
});

Fix issue with ember-encore used in global
Fix issue with ember-encore used in global
