Ember.run.join()

join (target, method, args*) Objectpublic Defined in packages/ember-metal/lib/run_loop.js:82 If no run-loop is present, it creates a new one. If a run loop is present it will queue itself to run on the existing run-loops action queue. Please note: This is not for normal usage, and should be used sparingly. If invoked when not within a run loop: run.join(function() { // creates a new run-loop }); Alternatively, if called within an existing run loop: run(function() { // creates a new run

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

DS.Serializer#normalize()

normalize (typeClass, hash) Object Defined in addon/serializer.js:73 The normalize method is used to convert a payload received from your external data source into the normalized form store.push() expects. You should override this method, munge the hash and return the normalized payload. Parameters: typeClass DS.Model hash Object Returns: Object

DataAdapter#observeModelType()

observeModelType (modelName, typesUpdated) Functionprivate Defined in packages/ember-extension-support/lib/data_adapter.js:278 Adds observers to a model type class. Parameters: modelName String The model type name. typesUpdated Function Called when a type is modified. Returns: Function The function to call to remove observers.

Ember.changeProperties()

changeProperties (callback, binding) private Defined in packages/ember-metal/lib/property_events.js:226 Make a series of property changes together in an exception-safe way. Ember.changeProperties(function() { obj1.set('foo', mayBlowUpWhenSet); obj2.set('bar', baz); }); Parameters: callback Function binding []

Ember.generateGuid()

generateGuid (obj, prefix) Stringprivate Defined in packages/ember-metal/lib/utils.js:129 Generates a new guid, optionally saving the guid to the object that you pass in. You will rarely need to use this method. Instead you should call Ember.guidFor(obj), which return an existing guid if available. Parameters: obj [Object] Object the guid will be used for. If passed in, the guid will be saved on the object and reused whenever you pass the same object again. If no object is passed, just

Ember.merge()

merge (original, updates) Objectpublic Defined in packages/ember-metal/lib/merge.js:1 Merge the contents of two objects together into the first object. Ember.merge({ first: 'Tom' }, { last: 'Dale' }); // { first: 'Tom', last: 'Dale' } var a = { first: 'Yehuda' }; var b = { last: 'Katz' }; Ember.merge(a, b); // a == { first: 'Yehuda', last: 'Katz' }, b == { last: 'Katz' } Parameters: original Object The object to merge into updates Object The object to copy properties from Retur

Test#promise()

promise (resolver, label) public Defined in packages/ember-testing/lib/test/promise.js:21 This returns a thenable tailored for testing. It catches failed onSuccess callbacks and invokes the Ember.Test.adapter.exception callback in the last chained then. This method should be returned by async helpers such as wait. Parameters: resolver Function The function used to resolve the promise. label String An optional string for identifying the promise.

DefaultResolver#resolveTemplate()

resolveTemplate (parsedName) protected Defined in packages/ember-application/lib/system/resolver.js:301 Look up the template in Ember.TEMPLATES Parameters: parsedName Object a parseName object with the parsed fullName lookup string

Templates.helpers.action()

actionpublic Defined in packages/ember-htmlbars/lib/keywords/action.js:9 The {{action}} helper provides a way to pass triggers for behavior (usually just a function) between components, and into components from controllers. Passing functions with the action helper There are three contexts an action helper can be used in. The first two contexts to discuss are attribute context, and Handlebars value context. {{! An example of attribute context }} <div onclick={{action "save"}}></div&