MCPcopy Index your code
hub / github.com/emberjs/ember.js / registerApplicationClasses

Function registerApplicationClasses

tests/node/helpers/setup-app.js:154–163  ·  view source on GitHub ↗
(app, registry)

Source from the content-addressed store, hash-verified

152}
153
154function registerApplicationClasses(app, registry) {
155 app.initializer({
156 name: 'register-application-classes',
157 initialize: function (app) {
158 for (let key in registry) {
159 app.register(key, registry[key]);
160 }
161 },
162 });
163}
164
165function registerTemplate(name, template) {
166 this.register('template:' + name, this.compile(template));

Callers 1

createApplicationFunction · 0.85

Calls 2

initializerMethod · 0.80
registerMethod · 0.65

Tested by

no test coverage detected