code: function () {
        // Build a default instance
        var instance = this.buildInstance();
  
        // Legacy support for App.__container__ and other global methods
        // on App that rely on a single, default instance.
        this.__deprecatedInstance__ = instance;
        this.__container__ = instance.__container__;
  
        // For the default instance only, set the view registry to the global
        // Ember.View.views hash for backwards-compatibility.
        _emberViewsViewsView.default.views = instance.lookup('-view-registry:main');
      }
docs: /*
  Build the deprecated instance for legacy globals mode support.
  Called when creating and resetting the application.
  This is orthogonal to autoboot: the deprecated instance needs to
  be created at Application construction (not boot) time to expose
  App.__container__ and the global Ember.View.views registry. If
  autoboot sees that this instance exists, it will continue booting
  it to avoid doing unncessary work (as opposed to building a new
  instance at boot time), but they are otherwise unrelated.
  @private
  @method _buildDeprecatedInstance