Skip to content
This repository was archived by the owner on Feb 6, 2021. It is now read-only.

Commit 4c9fa71

Browse files
authored
Merge pull request #76 from MiguelMadero/mmadero/fixes-init-call
Fixes init call so this works in older versions of ember-cli
2 parents 5a9e0e7 + 9a64251 commit 4c9fa71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212
name: 'ember-cli-htmlbars-inline-precompile',
1313

1414
init() {
15-
this._super.init.apply(this, arguments);
15+
this._super.init && this._super.init.apply(this, arguments);
1616

1717
let checker = new VersionChecker(this);
1818
let hasIncorrectBabelVersion = checker.for('ember-cli-babel', 'npm').lt('6.0.0-alpha.1');

0 commit comments

Comments
 (0)