Skip to content

Commit db42ca0

Browse files
marcemiraExelord
authored andcommitted
[FIX] Support for engine add-on (#63)
* [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`
1 parent 2501dbb commit db42ca0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
module.exports = {
44
name: 'ember-initials',
55

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

0 commit comments

Comments
 (0)