Test#resolve()

resolve (The) public Defined in packages/ember-testing/lib/test/promise.js:39 Available since 1.2.0 Replacement for Ember.RSVP.resolve The only difference is this uses an instance of Ember.Test.Promise Parameters: The Mixed value to resolve

Templates.helpers.with()

with (options) Stringpublic Defined in packages/ember-htmlbars/lib/helpers/with.js:8 Use the {{with}} helper when you want to alias a property to a new name. This is helpful for semantic clarity as it allows you to retain default scope or to reference a property from another {{with}} block. If the aliased property is "falsey", for example: false, undefined null, "", 0, NaN or an empty array, the block will not be rendered. {{! Will only render if user.posts contains items}} {{#with user.pos

Enumerable#addEnumerableObserver()

addEnumerableObserver (target, opts) private Defined in packages/ember-runtime/lib/mixins/enumerable.js:869 Registers an enumerable observer. Must implement Ember.EnumerableObserver mixin. Parameters: target Object opts [Object] Returns: this

Route#setupController()

setupController (controller, model) public Defined in packages/ember-routing/lib/system/route.js:1605 A hook you can use to setup the controller for the current route. This method is called with the controller for the current route and the model supplied by the model hook. By default, the setupController hook sets the model property of the controller to the model. If you implement the setupController hook in your Route, it will prevent this default behavior. If you want to preserve that beh

DS.Store#defaultAdapter

defaultAdapterprivate Defined in addon/-private/system/store.js:269 This property returns the adapter, after resolving a possible string key. If the supplied adapter was a class, or a String property path resolved to a class, this property will instantiate the class. This property is cacheable, so the same instance of a specified adapter class should be used for the lifetime of the store. Returns: DS.Adapter

Test#registerHelper()

registerHelper (name, helperMethod, options) public Defined in packages/ember-testing/lib/test/helpers.js:5 registerHelper is used to register a test helper that will be injected when App.injectTestHelpers is called. The helper method will always be called with the current Application as the first parameter. For example: Ember.Test.registerHelper('boot', function(app) { Ember.run(app, app.advanceReadiness); }); This helper can later be called without arguments because it will be called w

DataAdapter#columnsForType()

columnsForType (type) Arrayprivate Defined in packages/ember-extension-support/lib/data_adapter.js:264 Get the columns for a given model type. Parameters: type Class The model type. Returns: Array An array of columns of the following format: name: {String} The name of the column. desc: {String} Humanized description (what would show in a table column name).

DS.RecordArray#type

typeDS.Model Defined in addon/-private/system/record-arrays/record-array.js:26 The model type contained by this record array.

RSVP.filter()

filter (promises, filterFn, label) Promisestatic Defined in bower_components/rsvp/lib/rsvp/filter.js:6 RSVP.filter is similar to JavaScript's native filter method, except that it waits for all promises to become fulfilled before running the filterFn on each item in given to promises. RSVP.filter returns a promise that will become fulfilled with the result of running filterFn on the values the promises become fulfilled with. For example: var promise1 = RSVP.resolve(1); var promise2 = RSVP

HTMLBars.helpers.singularize()

singularize (word) Defined in node_modules/ember-inflector/addon/lib/helpers/singularize.js:4 If you have Ember Inflector (such as if Ember Data is present), singularize a word. For example, turn "oxen" into "ox". Example: {{singularize myProperty}} {{singularize "oxen"}} Parameters: word String|Property word to singularize