* Find an addon of the current addon. * * Example: ember-data depends on ember-cli-babel and wishes to have * additional control over transpilation this method helps. * * ```js * // ember-data/index.js * treeForAddon(tree) { * let babel = this.findOwnAddonByName('ember-cli-
(name)
| 338 | * @method findOwnAddonByName |
| 339 | */ |
| 340 | findOwnAddonByName(name) { |
| 341 | return this.addons.find((addon) => addon.name === name); |
| 342 | }, |
| 343 | |
| 344 | /** |
| 345 | * Check if the current addon intends to be hinted. Typically this is for |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…