Skip to content

Commit

Permalink
Merge pull request #129 from fsmanuel/fix/init-deprecation
Browse files Browse the repository at this point in the history
Fix(Addon): Call super in init
  • Loading branch information
nolanlawson committed Jun 21, 2016
2 parents bc495e5 + 9382e62 commit 050f82e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ module.exports = {
name: 'ember-pouch',

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

if (!satisfactoryEmberDataVersion(this)) {
var error = new Error("ember-pouch requires ember-data 1.13.x or 2.x");
error.suppressStacktrace = true;
Expand Down

0 comments on commit 050f82e

Please sign in to comment.