Skip to content

Commit

Permalink
[FIX] Support for engine add-on (#63)
Browse files Browse the repository at this point in the history
* [FIX] Support for engine add-on

`app.import` wasn't targeting my engine's dummy app, so this should provide wider support.

* Removing private method

Using `this.import`, removing private `_findHost`
  • Loading branch information
marcemira authored and Exelord committed May 17, 2018
1 parent 2501dbb commit db42ca0
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 @@ -3,8 +3,8 @@
module.exports = {
name: 'ember-initials',

included: function(app) {
this._super.included(app);
app.import('node_modules/blueimp-md5/js/md5.min.js', { using: [{ transformation: 'amd', as: 'md5' }]});
included: function() {
this._super.included.apply(this, arguments);
this.import('node_modules/blueimp-md5/js/md5.min.js', { using: [{ transformation: 'amd', as: 'md5' }]});
}
}

0 comments on commit db42ca0

Please sign in to comment.