Observable#removeObserver()

removeObserver (key, target, method) public Defined in packages/ember-runtime/lib/mixins/observable.js:385 Remove an observer you have previously registered on this object. Pass the same key, target, and method you passed to addObserver() and your target will no longer receive notifications. Parameters: key String The key to observer target Object The target object to invoke method String|Function The method to invoke.

Ember.computed.reads()

reads (dependentKey) Ember.ComputedPropertypublic Defined in packages/ember-runtime/lib/computed/computed_macros.js:568 This is a more semantically meaningful alias of computed.oneWay, whose name is somewhat ambiguous as to which direction the data flows. Parameters: dependentKey String Returns: Ember.ComputedProperty computed property which creates a one way computed property to the original value for property.

DS.Model#dirtyType

dirtyType{String} Defined in addon/-private/system/model/model.js:222 If the record is in the dirty state this property will report what kind of change has caused it to move into the dirty state. Possible values are: created The record has been created by the client and not yet saved to the adapter. updated The record has been updated by the client and not yet saved to the adapter. deleted The record has been deleted by the client and not yet saved to the adapter. Example var record = st

RegistryProxyMixin#inject()

inject (factoryNameOrType, property, injectionName) public Defined in packages/ember-runtime/lib/mixins/registry_proxy.js:203 Define a dependency injection onto a specific factory or all factories of a type. When Ember instantiates a controller, view, or other framework component it can attach a dependency to that component. This is often used to provide services to a set of framework components. An example of providing a session object to all controllers: let App = Ember.Application.create

CoreObject#reopenClass()

reopenClasspublic Defined in packages/ember-runtime/lib/system/core_object.js:717 Augments a constructor's own properties and functions: MyObject = Ember.Object.extend({ name: 'an object' }); MyObject.reopenClass({ canBuild: false }); MyObject.canBuild; // false o = MyObject.create(); In other words, this creates static properties and functions for the class. These are only available on the class and not on any instance of that class. App.Person = Ember.Object.extend({ name : "",

Engine#buildInstance()

buildInstanceEmber.EngineInstanceprivate Defined in packages/ember-application/lib/system/engine.js:87 Create an EngineInstance for this engine. Returns: Ember.EngineInstance the engine instance

Comparable#compare()

compare (a, b) Numberprivate Defined in packages/ember-runtime/lib/mixins/comparable.js:21 Required. You must implement this method to apply this mixin. Override to return the result of the comparison of the two parameters. The compare method should return: -1 if a < b 0 if a == b 1 if a > b Default implementation raises an exception. Parameters: a Object the first object to compare b Object the second object to compare Returns: Number the result of the comparison

Inflector#singular()

singular (regex, string) Defined in node_modules/ember-inflector/addon/lib/system/inflector.js:182 Parameters: regex RegExp string String

DS.RESTAdapter#generatedDetailedMessage()

generatedDetailedMessage (status, headers, payload, requestData) Stringprivate Defined in addon/adapters/rest.js:1126 Generates a detailed ("friendly") error message, with plenty of information for debugging (good luck!) Parameters: status Number headers Object payload Object requestData Object Returns: String detailed error message

DS.Adapter#findAll()

findAll (store, type, sinceToken, snapshotRecordArray) Promise Defined in addon/adapter.js:123 The findAll() method is used to retrieve all records for a given type. Example app/adapters/application.js import DS from 'ember-data'; export default DS.Adapter.extend({ findAll: function(store, type, sinceToken) { var query = { since: sinceToken }; return new Ember.RSVP.Promise(function(resolve, reject) { Ember.$.getJSON(`/${type.modelName}`, query).then(function(data) {