Application#_prepareForGlobalsMode()

_prepareForGlobalsModeprivate Defined in packages/ember-application/lib/system/application.js:380 Enable the legacy globals mode by allowing this application to act as a global namespace. See the docs on the _globalsMode property for details. Most of these features are already deprecated in 1.x, so we can stop using them internally and try to remove them.

Application#eventDispatcher

eventDispatcherEmber.EventDispatcherpublic Defined in packages/ember-application/lib/system/application.js:220 The Ember.EventDispatcher responsible for delegating events to this application's views. The event dispatcher is created by the application at initialization time and sets up event listeners on the DOM element described by the application's rootElement property. See the documentation for Ember.EventDispatcher for more information. Default: null

Application#ready event

readypublic Defined in packages/ember-application/lib/system/application.js:751 Called when the Application has become ready, immediately before routing begins. The call will be delayed until the DOM has become ready.

Application#domReady()

domReadyprivate Defined in packages/ember-application/lib/system/application.js:446 This is the autoboot flow: Boot the app by calling this.boot() Create an instance (or use the __deprecatedInstance__ in globals mode) Boot the instance by calling instance.boot() Invoke the App.ready() callback Kick-off routing on the instance Ideally, this is all we would need to do: _autoBoot() { this.boot().then(() => { let instance = (this._globalsMode) ? this.__deprecatedInstance__ : this.bui

Application#reset()

resetpublic Defined in packages/ember-application/lib/system/application.js:609 Reset the application. This is typically used only in tests. It cleans up the application in the following order: Deactivate existing routes Destroy all objects in the container Create a new application container Re-route to the existing url Typical Example: let App; run(function() { App = Ember.Application.create(); }); module('acceptance test', { setup: function() { App.reset(); } }); test('first

Application#rootElement

rootElementDOMElementpublic Defined in packages/ember-application/lib/system/application.js:204 The root DOM element of the Application. This can be specified as an element or a jQuery-compatible selector string. This is the element that will be passed to the Application's, eventDispatcher, which sets up the listeners for event delegation. Every view in your application should be a child of the element you specify here. Default: 'body'

Application#didBecomeReady()

didBecomeReadyprivate Defined in packages/ember-application/lib/system/application.js:700

Application#buildInstance()

buildInstanceEmber.ApplicationInstanceprivate Inherited from Ember.Engine but overwritten in packages/ember-application/lib/system/application.js:367 Create an ApplicationInstance for this application. Returns: Ember.ApplicationInstance the application instance

Application#customEvents

customEventsObjectpublic Defined in packages/ember-application/lib/system/application.js:237 The DOM events for which the event dispatcher should listen. By default, the application's Ember.EventDispatcher listens for a set of standard DOM events, such as mousedown and keyup, and delegates them to your application's Ember.View instances. If you would like additional bubbling events to be delegated to your views, set your Ember.Application's customEvents property to a hash containing the DOM

Application#deferReadiness()

deferReadinesspublic Defined in packages/ember-application/lib/system/application.js:491 Use this to defer readiness until some condition is true. Example: let App = Ember.Application.create(); App.deferReadiness(); // Ember.$ is a reference to the jQuery object/function Ember.$.getJSON('/auth-token', function(token) { App.token = token; App.advanceReadiness(); }); This allows you to perform asynchronous setup logic and defer booting your application until the setup has finished. How