DS.Store#normalize()

normalize (modelName, payload) Object Defined in addon/-private/system/store.js:2271 normalize converts a json payload into the normalized form that push expects. Example socket.on('message', function(message) { var modelName = message.model; var data = message.data; store.push(store.normalize(modelName, data)); }); Parameters: modelName String The name of the model type for this payload payload Object Returns: Object The normalized payload

CoreObject#mergedProperties

mergedPropertiesArraypublic Defined in packages/ember-runtime/lib/system/core_object.js:324 Defines the properties that will be merged from the superclass (instead of overridden). By default, when you extend an Ember class a property defined in the subclass overrides a property with the same name that is defined in the superclass. However, there are some cases where it is preferable to build up a property's value by merging the superclass property value with the subclass property's value. A

Ember.streams.Ember.stream.chain()

chain (value, fn) Object|Streamprivate Defined in packages/ember-htmlbars/lib/streams/utils.js:271 Generate a new stream by providing a source stream and a function that can be used to transform the stream's value. In the case of a non-stream object, returns the result of the function. The value to transform would typically be available to the function you pass to chain() via scope. For example: let source = ...; // stream returning a number // or a numeric (

MutableArray#insertAt()

insertAt (idx, object) Ember.Arraypublic Defined in packages/ember-runtime/lib/mixins/mutable_array.js:113 This will use the primitive replace() method to insert an object at the specified index. let colors = ['red', 'green', 'blue']; colors.insertAt(2, 'yellow'); // ['red', 'green', 'yellow', 'blue'] colors.insertAt(5, 'orange'); // Error: Index out of range Parameters: idx Number index of insert the object at. object Object object to insert Returns: Ember.Array receiver

Ember.suspendListeners()

suspendListeners (obj, eventNames, target, method, callback) private Defined in packages/ember-metal/lib/events.js:162 Suspends multiple listeners during a callback. Parameters: obj eventNames Array Array of event names target Object|Function A target object or a function method Function|String A function or the name of a function to be called on `target` callback Function

Test#findWithAssert()

findWithAssert (selector) Objectpublic Defined in packages/ember-testing/lib/helpers.js:122 Like find, but throws an error if the element selector returns no results. Example: var $el = findWithAssert('.doesnt-exist'); // throws error Parameters: selector String jQuery selector string for finding an element within the DOM Returns: Object jQuery object representing the results of the query

Test.checkWaiters()

checkWaiterspublicstatic Defined in packages/ember-testing/lib/test/waiters.js:74 Iterates through each registered test waiter, and invokes its callback. If any waiter returns false, this method will return true indicating that the waiters have not settled yet. This is generally used internally from the acceptance/integration test infrastructure.

DS.JSONSerializer#normalizeQueryRecordResponse()

normalizeQueryRecordResponse (store, primaryModelClass, payload, id, requestType) Object Defined in addon/serializers/json.js:276 Available since 1.13.0 Parameters: store DS.Store primaryModelClass DS.Model payload Object id String|Number requestType String Returns: Object JSON-API Document

Test#registerWaiter()

registerWaiter (context, callback) public Defined in packages/ember-testing/lib/test/waiters.js:7 Available since 1.2.0 This allows ember-testing to play nicely with other asynchronous events, such as an application that is waiting for a CSS3 transition or an IndexDB transaction. For example: Ember.Test.registerWaiter(function() { return myPendingTransactions() == 0; }); The context argument allows you to optionally specify the this with which your callback will be invoked. For example:

TextSupport#layoutName

layoutNameStringprivate Defined in packages/ember-views/lib/mixins/template_support.js:35 The name of the layout to lookup if no layout is provided. By default Ember.View will lookup a template with this name in Ember.TEMPLATES (a shared global object). Default: null