Ember.wrap()

wrap (func, superFunc) Functionprivate Defined in packages/ember-metal/lib/utils.js:276 Wraps the passed function so that this._super will point to the superFunc when the function is invoked. This is the primitive we use to implement calls to super. Parameters: func Function The function to call superFunc Function The super function. Returns: Function wrapped function.

DS.EmbeddedRecordsMixin#_normalizeEmbeddedRelationship()

_normalizeEmbeddedRelationshipprivate Defined in addon/serializers/embedded-records-mixin.js:600

Ember.sendEvent()

sendEvent (obj, eventName, params, actions) public Defined in packages/ember-metal/lib/events.js:195 Send an event. The execution of suspended listeners is skipped, and once listeners are removed. A listener without a target is executed on the passed object. If an array of actions is not passed, the actions stored on the passed object are invoked. Parameters: obj eventName String params Array Optional parameters for each listener. actions Array Optional array of actions (lis

Ember.makeArray()

makeArray (obj) Arrayprivate Defined in packages/ember-metal/lib/utils.js:370 Forces the passed object to be part of an array. If the object is already an array, it will return the object. Otherwise, it will add the object to an array. If obj is null or undefined, it will return an empty array. Ember.makeArray(); // [] Ember.makeArray(null); // [] Ember.makeArray(undefined); // [] Ember.makeArray('lindsay'); // ['lindsay'] Ember.makeArray([1, 2, 42]); // [1, 2, 42] l

RegistryProxyMixin#inject()

inject (factoryNameOrType, property, injectionName) public Defined in packages/ember-runtime/lib/mixins/registry_proxy.js:203 Define a dependency injection onto a specific factory or all factories of a type. When Ember instantiates a controller, view, or other framework component it can attach a dependency to that component. This is often used to provide services to a set of framework components. An example of providing a session object to all controllers: let App = Ember.Application.create

DS.Store#pushPayload()

pushPayload (modelName, inputPayload) Defined in addon/-private/system/store.js:2197 Push some raw data into the store. This method can be used both to push in brand new records, as well as to update existing records. You can push in more than one type of object at once. All objects should be in the format expected by the serializer. app/serializers/application.js import DS from 'ember-data'; export default DS.ActiveModelSerializer; var pushData = { posts: [ { id: 1, post_title: "G

Ember._immediateObserver()

_immediateObserver (propertyNames, func) deprecatedprivate Defined in packages/ember-metal/lib/mixin.js:755 Use Ember.observer instead. Specify a method that observes property changes. Ember.Object.extend({ valueObserver: Ember.immediateObserver('value', function() { // Executes whenever the "value" property changes }) }); In the future, Ember.observer may become asynchronous. In this event, Ember.immediateObserver will maintain the synchronous behavior. Also available as Functio

Enumerable#isAny()

isAny (key, value) Booleanpublic Defined in packages/ember-runtime/lib/mixins/enumerable.js:669 Available since 1.3.0 Returns true if the passed property resolves to the value of the second argument for any item in the enumerable. This method is often simpler/faster than using a callback. Parameters: key String the property to test value [String] optional value to test against. Defaults to `true` Returns: Boolean

DS.String#singularize()

singularize Defined in node_modules/ember-inflector/addon/lib/ext/string.js:18 See {{#crossLink "Ember.String/singularize"}}{{/crossLink}}

LinkComponent#activeClass

activeClassStringprivate Defined in packages/ember-htmlbars/lib/components/link-to.js:401 The CSS class to apply to LinkComponent's element when its active property is true. Default: active