buildRegistry (namespace) Ember.Registry
privatestatic
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
namespace
property - all controllers receive the router as their
target
andcontrollers
properties - all controllers receive the application as their
namespace
property - the application view receives the application controller as its
controller
property - the application view receives the application template as its
defaultTemplate
property
Parameters:
-
namespace
Ember.Application
- the application for which to build the registry
Returns:
-
Ember.Registry
- the built registry
Please login to continue.