lib/index.js
function findHost() {
  var current = this;
  var app;

  // Keep iterating upward until we don't have a grandparent.
  // Has to do this grandparent check because at some point we hit the project.
  // Stop at lazy engine boundaries.
  do {
    if (current.lazyLoading === true) { return current; }
    app = current.app || app;
  } while (current.parent && current.parent.parent && (current = current.parent));

  return app;
}
function findHost() {
  var current = this;
  var app;

  // Keep iterating upward until we don't have a grandparent.
  // Has to do this grandparent check because at some point we hit the project.
  // Stop at lazy engine boundaries.
  do {
    if (current.lazyLoading === true) { return current; }
    app = current.app || app;
  } while (current.parent && current.parent.parent && (current = current.parent));

  return app;
}
function findHost ( ) { var current = this ; var app ; // Keep iterating upward until we don't have a grandparent. // Has to do this grandparent check because at some point we hit the project. // Stop at lazy engine boundaries. do { if ( current . lazyLoading === true ) { return current ; } app = current . app || app ; } while ( current . parent && current . parent . parent && ( current = current . parent ) ) ; return app ; }
Support old versions of Ember CLI.
Support old versions of Ember CLI .