RSVP.reject()

reject (reason, label) Promisestatic Inherited from RSVP but overwritten in bower_components/rsvp/lib/rsvp/reject.js:3 This is a convenient alias for RSVP.Promise.reject. Parameters: reason * value that the returned promise will be rejected with. label String optional string for identifying the returned promise. Useful for tooling. Returns: Promise a promise rejected with the given `reason`.

ArrayProxy#contentArrayDidChange()

contentArrayDidChange (contentArray, start, removeCount, addCount) private Defined in packages/ember-runtime/lib/system/array_proxy.js:167 Override to implement content array didChange observer. Parameters: contentArray Ember.Array the content array start Number starting index of the change removeCount Number count of items removed addCount Number count of items added

TextSupport

Ember.TextSupport Class PRIVATE Extends: Ember.Mixin Uses: Ember.TargetActionSupport Defined in: packages/ember-views/lib/mixins/text_support.js:16 Module: ember-views TextSupport is a shared mixin used by both Ember.TextField and Ember.TextArea. TextSupport adds a number of methods that allow you to specify a controller action to invoke when a certain event is fired on your text field or textarea. The specifed controller action would get the current value of the field passed in as the onl

DS.Adapter#createRecord()

createRecord (store, type, snapshot) Promise Defined in addon/adapter.js:282 Implement this method in a subclass to handle the creation of new records. Serializes the record and sends it to the server. Example app/adapters/application.js import DS from 'ember-data'; export default DS.Adapter.extend({ createRecord: function(store, type, snapshot) { var data = this.serialize(snapshot, { includeId: true }); return new Ember.RSVP.Promise(function(resolve, reject) { Ember.$.aja

Router#isActive()

isActive (routeName) Booleanprivate Defined in packages/ember-routing/lib/system/router.js:399 Determines if the supplied route is currently active. Parameters: routeName Returns: Boolean

Dependency Injection

Dependency Injection Ember applications utilize the dependency injection ("DI") design pattern to declare and instantiate classes of objects and dependencies between them. Applications and application instances each serve a role in Ember's DI implementation. An Ember.Application serves as a "registry" for dependency declarations. Factories (i.e. classes) are registered with an application, as well as rules about "injecting" dependencies that are applied when objects are instantiated. An Ember

DS.Store#filter()

filter (modelName, query, filter) DS.PromiseArraydeprecatedprivate Defined in addon/-private/system/store.js:1550 Takes a type and filter function, and returns a live RecordArray that remains up to date as new records are loaded into the store or created locally. The filter function takes a materialized record, and returns true if the record should be included in the filter and false if it should not. Example store.filter('post', function(post) { return post.get('unread'); }); The filter

DS.JSONSerializer#serializeIntoHash()

serializeIntoHash (hash, typeClass, snapshot, options) Defined in addon/serializers/json.js:1075 You can use this method to customize how a serialized record is added to the complete JSON hash to be sent to the server. By default the JSON Serializer does not namespace the payload and just sends the raw serialized JSON object. If your server expects namespaced keys, you should consider using the RESTSerializer. Otherwise you can override this method to customize how the record is added to t

Error#deprecateProperty()

deprecateProperty (object, deprecatedKey, newKey) private Defined in packages/ember-metal/lib/deprecate_property.js:11 Available since 1.7.0 Used internally to allow changing properties in a backwards compatible way, and print a helpful deprecation warning. Parameters: object Object The object to add the deprecated property to. deprecatedKey String The property to add (and print deprecation warnings upon accessing). newKey String The property that will be aliased.

Inflector#singular()

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