MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / included

Function included

lib/models/addon.js:728–736  ·  view source on GitHub ↗

This method is called when the addon is included in a build. You would typically use this hook to perform additional imports #### Uses: - including vendor files - setting configuration options *Note:* Any options set in the consuming application will override the addon. @

(/* parent */)

Source from the content-addressed store, hash-verified

726 ```
727 */
728 included(/* parent */) {
729 if (!this._addonsInitialized) {
730 // someone called `this._super.included` without `apply` (because of older
731 // core-object issues that prevent a "real" super call from working properly)
732 return;
733 }
734
735 this.eachAddonInvoke('included', [this]);
736 },
737
738 /**
739 Imports an asset into this addon.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…