code: function() {
          if (!this.import) {
              this._findHost = function findHostShim() {
                var current = this;
                var app;
                do {
                  app = current.app || app;
                } while (current.parent.parent && (current = current.parent));
                return app;
              };
              this.import = function importShim(asset, options) {
                var app = this._findHost();
                app.import(asset, options);
              };
          }
      }
docs: ember 2.7 < compatibility: https://github.com/simplabs/ember-simple-auth/blob/1ca4ae678b7be9905076762220dcd9fcb0f27ac0/index.js#L24-L39