Skip to content

Commit 3e00c68

Browse files
authored
Merge pull request #46 from intercom/ac/chore/fix-vendored-imports
Fix how vendored assets are imported
2 parents aa3df05 + 7ac0ec9 commit 3e00c68

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
@@ -17,13 +17,13 @@ module.exports = {
1717
blueprintsPath: function () {
1818
return path.join(__dirname, 'blueprints');
1919
},
20-
included: function colpick_included() {
20+
included: function colpick_included(app) {
2121
this._super.included.apply(this, arguments);
2222
if (!process.env.EMBER_CLI_FASTBOOT) {
2323
var colpickPath = path.join('vendor', 'jquery-colpick');
2424

25-
this.app.import(path.join(colpickPath, 'colpick.js'));
26-
this.app.import(path.join(colpickPath, 'colpick.css'));
25+
app.import(path.join(colpickPath, 'colpick.js'));
26+
app.import(path.join(colpickPath, 'colpick.css'));
2727
}
2828
},
2929
};

0 commit comments

Comments
 (0)