DefaultResolver#resolveModel()

resolveModel (parsedName) protected Defined in packages/ember-application/lib/system/resolver.js:353 Lookup the model on the Application namespace Parameters: parsedName Object a parseName object with the parsed fullName lookup string

DefaultResolver#resolve()

resolve (fullName) Objectpublic Defined in packages/ember-application/lib/system/resolver.js:165 This method is called via the container's resolver method. It parses the provided fullName and then looks up and returns the appropriate template or class. Parameters: fullName String the lookup string Returns: Object the resolved factory

DefaultResolver#parseName()

parseName (fullName) protected Defined in packages/ember-application/lib/system/resolver.js:197 Convert the string name of the form 'type:name' to a Javascript object with the parsed aspects of the name broken out. Parameters: fullName String the lookup string

DefaultResolver#resolveController()

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

DefaultResolver#namespace

namespacepublic Defined in packages/ember-application/lib/system/resolver.js:112 This will be set to the Application instance when it is created.

DefaultResolver#resolveHelper()

resolveHelper (parsedName) protected Defined in packages/ember-application/lib/system/resolver.js:367 Look up the specified object (from parsedName) on the appropriate namespace (usually on the Application) Parameters: parsedName Object a parseName object with the parsed fullName lookup string

DefaultResolver#knownForType()

knownForType (type) private Defined in packages/ember-application/lib/system/resolver.js:423 Used to iterate all items of a given type. Parameters: type String the type to search for

DefaultResolver#lookupDescription()

lookupDescription (fullName) protected Defined in packages/ember-application/lib/system/resolver.js:255 Returns a human-readable description for a fullName. Used by the Application namespace in assertions to describe the precise name of the class that Ember is looking for, rather than container keys. Parameters: fullName String the lookup string

DefaultResolver

Ember.DefaultResolver Class PUBLIC Extends: Ember.Object Defined in: packages/ember-application/lib/system/resolver.js:39 Module: ember-application The DefaultResolver defines the default lookup rules to resolve container lookups before consulting the container for registered items: templates are looked up on Ember.TEMPLATES other names are looked up on the application after converting the name. For example, controller:post looks up App.PostController by default. there are some nuances (s

Debug.registerWarnHandler()

registerWarnHandler (handler) publicstatic Defined in packages/ember-debug/lib/index.js:260 Available since 2.1.0 Allows for runtime registration of handler functions that override the default warning behavior. Warnings are invoked by calls made to Ember.warn. The following example demonstrates its usage by registering a handler that does nothing overriding Ember's default warning behavior. // next is not called, so no warnings get the default behavior Ember.Debug.registerWarnHandler(() =&g