buildRegistry (namespace) Ember.Registryprivatestatic
This creates a registry with the default Ember naming conventions.
It also configures the registry:
- registered views are created every time they are looked up (they are not singletons)
- registered templates are not factories; the registered value is returned directly.
- the router receives the application as its
namespaceproperty - all controllers receive the router as their
targetandcontrollersproperties - all controllers receive the application as their
namespaceproperty - the application view receives the application controller as its
controllerproperty - the application view receives the application template as its
defaultTemplateproperty
Parameters:
-
namespace
Ember.Application - the application for which to build the registry
Returns:
-
Ember.Registry - the built registry
Please login to continue.