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

Method _addonDisabledByInclude

lib/broccoli/ember-app.js:416–419  ·  view source on GitHub ↗

@private @method _addonDisabledByInclude @param {Addon} addon @return {Boolean}

(addon)

Source from the content-addressed store, hash-verified

414 @return {Boolean}
415 */
416 _addonDisabledByInclude(addon) {
417 let include = this.options.addons.include;
418 return !!include && include.indexOf(addon.name) === -1;
419 }
420
421 /**
422 Returns whether an addon should be added to the project

Callers 2

shouldIncludeAddonMethod · 0.95
ember-app-test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected