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

Commit

Permalink
Merge pull request #76 from MiguelMadero/mmadero/fixes-init-call
Browse files Browse the repository at this point in the history
Fixes init call so this works in older versions of ember-cli
  • Loading branch information
rwjblue committed May 3, 2017
2 parents 5a9e0e7 + 9a64251 commit 4c9fa71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
name: 'ember-cli-htmlbars-inline-precompile',

init() {
this._super.init.apply(this, arguments);
this._super.init && this._super.init.apply(this, arguments);

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

0 comments on commit 4c9fa71

Please sign in to comment.