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

Method callback

tests/helpers/fixturify-project.js:245–252  ·  view source on GitHub ↗
(engine)

Source from the content-addressed store, hash-verified

243 */
244 addEngine(name, version = '0.0.0', options = { allowCachingPerBundle: false, enableLazyLoading: false }) {
245 const callback = (engine) => {
246 engine.pkg.keywords.push('ember-engine');
247
248 // call original callback if it exists
249 if (typeof options.callback === 'function') {
250 options.callback(engine);
251 }
252 };
253
254 if (options.enableLazyLoading) {
255 return this.addAddon(name, version, {

Callers 5

applyCustomTransformsMethod · 0.80
addAddonMethod · 0.80
addDevAddonMethod · 0.80
addInRepoAddonMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected