Skip to content

Commit

Permalink
Merge pull request #420 from bertdeblock/lazy-engines-support
Browse files Browse the repository at this point in the history
Use "this.import" instead of "app.import" to support lazy engines
  • Loading branch information
maxfierke authored Mar 1, 2021
2 parents ed7f5c4 + 587df99 commit f656fba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ module.exports = {
}
},

included: function (app) {
included: function () {
this._super.included.apply(this, arguments);

app.import('vendor/ember-tooltips--popper.js', {
this.import(`${this.treePaths.vendor}/ember-tooltips--popper.js`, {
using: [
{
transformation: 'amd',
as: 'popper.js',
},
],
});
app.import('vendor/ember-tooltips--tooltip.js', {
this.import(`${this.treePaths.vendor}/ember-tooltips--tooltip.js`, {
using: [
{
transformation: 'amd',
Expand Down

0 comments on commit f656fba

Please sign in to comment.