text: import setupContainer from './setup-container';
  
  var K = Ember.K;
  
  /**
    @module ember-data
  
    This code initializes Ember-Data onto an Ember application.
  */
  
  Ember.onLoad('Ember.Application', function(Application) {
  
    Application.initializer({
      name:       "ember-data",
      initialize: setupContainer
    });
  
    // Deprecated initializers to satisfy old code that depended on them
  
    Application.initializer({
      name:       "store",
      after:      "ember-data",
      initialize: K
    });
  
    Application.initializer({
      name:       "activeModelAdapter",
      before:     "store",
      initialize: K
    });
  
    Application.initializer({
      name:       "transforms",
      before:     "store",
      initialize: K
    });
  
    Application.initializer({
      name:       "data-adapter",
      before:     "store",
      initialize: K
    });
  
    Application.initializer({
      name:       "injectStore",
      before:     "store",
      initialize: K
    });
  });
  