Test#keyEvent()

keyEvent (selector, type, keyCode) RSVP.Promisepublic Defined in packages/ember-testing/lib/helpers.js:64 Available since 1.5.0 Simulates a key event, e.g. keypress, keydown, keyup with the desired keyCode Example: keyEvent('.some-jQuery-selector', 'keypress', 13).then(function() { // assert something }); Parameters: selector String jQuery selector for finding element on the DOM type String the type of key event, e.g. `keypress`, `keydown`, `keyup` keyCode Number the keyCode

DefaultResolver#resolveView()

resolveView (parsedName) protected Defined in packages/ember-application/lib/system/resolver.js:315 Lookup the view using resolveOther Parameters: parsedName Object a parseName object with the parsed fullName lookup string

DS.Model#didUpdate event

didUpdate Defined in addon/-private/system/model/model.js:437 Fired when the record is updated.

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