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

Method _addonEnabled

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

Checks the result of `addon.isEnabled()` if it exists, defaults to `true` otherwise. @private @method _addonEnabled @param {Addon} addon @return {Boolean}

(addon)

Source from the content-addressed store, hash-verified

393 @return {Boolean}
394 */
395 _addonEnabled(addon) {
396 return !addon.isEnabled || addon.isEnabled();
397 }
398
399 /**
400 @private

Callers 2

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

Calls 1

isEnabledMethod · 0.80

Tested by

no test coverage detected