HistoryLocation#pushState()

pushState (path) private Defined in packages/ember-routing/lib/location/history_location.js:140 Pushes a new state. Parameters: path String

PromiseProxyMixin#isFulfilled

isFulfilledpublic Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:130 Will become true if the proxied promise is fulfilled. Default: false

Controller

Ember.Controller Class PUBLIC Extends: Ember.Object Uses: Ember.ControllerMixin Defined in: packages/ember-runtime/lib/controllers/controller.js:12 Module: ember-runtime

Route#_stashNames()

_stashNamesprivate Defined in packages/ember-routing/lib/system/route.js:295

Applications and Instances

Applications and Instances Every Ember application is represented by a class that extends Ember.Application. This class is used to declare and configure the many objects that make up your app. As your application boots, it creates an Ember.ApplicationInstance that is used to manage its stateful aspects. This instance acts as the "owner" of objects instantiated for your app. Essentially, the Application defines your application while the ApplicationInstance manages its state. This separation o

DS.ServerError#errorsHashToArray()

errorsHashToArrayprivate Defined in addon/adapters/errors.js:168

RSVP.Promise

RSVP.Promise Class Defined in: bower_components/rsvp/lib/rsvp/promise.js:34 Module: ember Promise objects represent the eventual result of an asynchronous operation. The primary way of interacting with a promise is through its then method, which registers callbacks to receive either a promise’s eventual value or the reason why the promise cannot be fulfilled. Terminology promise is an object or function with a then method whose behavior conforms to this specification. thenable is an obje

Registry#factoryTypeInjection()

factoryTypeInjection (type, property, fullName) private Defined in packages/container/lib/registry.js:555 Used only via factoryInjection. Provides a specialized form of injection, specifically enabling all factory of one type to be injected with a reference to another object. For example, provided each factory of type model needed a store. one would do the following: let registry = new Registry(); registry.register('store:main', SomeStore); registry.factoryTypeInjection('model', 'store',

Ember.hasListeners()

hasListeners (obj, eventName) private Defined in packages/ember-metal/lib/events.js:244 Parameters: obj eventName String

The Model Hook

The Model Hook Now, let's add a list of available rentals to the index template. We know that rentals will not be static, since eventually users will be able to add, update, and delete them. For this reason, we'll need a rentals model to save information about the rentals. To keep things simple at first, we'll use a hard-coded array of JavaScript objects. Later, we'll switch to using Ember Data, a library for robustly managing data in our app. Here's what our homepage will look like when we'r