MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / initializeAddons

Function initializeAddons

lib/models/addon.js:445–457  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

443 },
444
445 initializeAddons() {
446 if (this._addonsInitialized) {
447 return;
448 }
449 this._addonsInitialized = true;
450
451 logger.info('initializeAddons for: %s', this.name);
452
453 this.discoverAddons();
454
455 this.addons = instantiateAddons(this, this.project, this.addonPackages);
456 this.addons.forEach((addon) => logger.info('addon: %s', addon.name));
457 },
458
459 /**
460 Invoke the specified method for each enabled addon.

Callers

nothing calls this directly

Calls 2

instantiateAddonsFunction · 0.85
discoverAddonsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…