Skip to content

Commit

Permalink
fix included _super class (#520)
Browse files Browse the repository at this point in the history
This fixes issues with people seeing `regeneratorRuntime` is not defined when ember-concurrency / ember-maybe-import-regenerator are deeply nested dependent addons.

[This new ember app](https://github.com/v3ss0n/ember-paper-menu-error-concurrency) demonstrates the bug and is fixed with this change to ember-paper.

Prior art: ember-cli/ember-cli#3718 (comment)
  • Loading branch information
machty authored and miguelcobain committed Oct 13, 2016
1 parent b17819c commit 6f9589a
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 @@ -11,7 +11,7 @@ module.exports = {
name: 'ember-paper',

included: function(app) {
this._super.included(app);
this._super.included.apply(this, arguments);

if (!process.env.EMBER_CLI_FASTBOOT) {
app.import(app.bowerDirectory + '/hammer.js/hammer.js')
Expand Down

0 comments on commit 6f9589a

Please sign in to comment.