RegistryProxyMixin#registeredOptions()

registeredOptions (fullName) Objectpublic Defined in packages/ember-runtime/lib/mixins/registry_proxy.js:152 Return registered options for a particular factory. Parameters: fullName String Returns: Object options

DS.Errors#registerHandlers()

registerHandlers (target, becameInvalid, becameValid) deprecated Defined in addon/-private/system/model/errors.js:91 Register with target handler Parameters: target Object becameInvalid Function becameValid Function

DS.Model.relationshipNames

relationshipNamesObjectstatic Defined in addon/-private/system/relationships/ext.js:366 A hash containing lists of the model's relationships, grouped by the relationship kind. For example, given a model with this definition: app/models/blog.js import DS from 'ember-data'; export default DS.Model.extend({ users: DS.hasMany('user'), owner: DS.belongsTo('user'), posts: DS.hasMany('post') }); This property would contain the following: import Ember from 'ember'; import Blog from 'app/mo

DS.Store#flushPendingSave()

flushPendingSaveprivate Defined in addon/-private/system/store.js:1708 This method is called at the end of the run loop, and flushes any records passed into scheduleSave

Application#autoboot

autobootBooleanprivate Defined in packages/ember-application/lib/system/application.js:281 Whether the application should automatically start routing and render templates to the rootElement on DOM ready. While default by true, other environments such as FastBoot or a testing harness can set this property to false and control the precise timing and behavior of the boot process. Default: true

Application#_globalsMode

_globalsModeBooleanprivate Defined in packages/ember-application/lib/system/application.js:295 Whether the application should be configured for the legacy "globals mode". Under this mode, the Application object serves as a global namespace for all classes. let App = Ember.Application.create({ ... }); App.Router.reopen({ location: 'none' }); App.Router.map({ ... }); App.MyComponent = Ember.Component.extend({ ... }); This flag also exposes other internal APIs that assumes the exis

DS.Store#_load()

_load (type, data) private Defined in addon/-private/system/store.js:1864 This internal method is used by push. Parameters: type (String|DS.Model) data Object

Instrumentation#instrument()

instrument (name, _payload, callback, binding) private Defined in packages/ember-metal/lib/instrumentation.js:78 Notifies event's subscribers, calls before and after hooks. Parameters: name [String] Namespaced event name. _payload Object callback Function Function that you're instrumenting. binding Object Context that instrument function is called with.

Redirecting

Redirecting Sometimes you want to redirect a user to a different page than what they requested for. For example, if they're not logged in, you might want to prevent them from editing their profile, accessing private information, or checking out items in their shopping cart. Usually you want to redirect them to the login page, and after they have successfully logged in, take them back to the page they originally wanted to access. There are many other reasons you probably want to have the last

MutableArray#unshiftObjects()

unshiftObjects (objects) Ember.Arraypublic Defined in packages/ember-runtime/lib/mixins/mutable_array.js:280 Adds the named objects to the beginning of the array. Defers notifying observers until all objects have been added. let colors = ['red']; colors.unshiftObjects(['black', 'white']); // ['black', 'white', 'red'] colors.unshiftObjects('yellow'); // Type Error: 'undefined' is not a function Parameters: objects Ember.Enumerable the objects to add Returns: Ember.Array receiv