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

Commit

Permalink
Fixes init call so this works in older verisons of ember-cli
Browse files Browse the repository at this point in the history
This follows the recommended approach mentioned on
https://github.com/ember-cli/ember-cli/blob/master/lib/models/addon.js#L180
  • Loading branch information
MiguelMadero committed May 3, 2017
1 parent 5a9e0e7 commit 9a64251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
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 9a64251

Please sign in to comment.