diff --git a/addon/mixin.js b/addon/mixin.js index 2fa174f2..3a835b87 100644 --- a/addon/mixin.js +++ b/addon/mixin.js @@ -1,7 +1,6 @@ import Ember from 'ember'; import Errors from 'ember-validations/errors'; import Base from 'ember-validations/validators/base'; -import getOwner from 'ember-getowner-polyfill'; const { A: emberArray, @@ -15,7 +14,8 @@ const { isNone, isPresent, set, - warn + warn, + getOwner } = Ember; const setValidityMixin = Mixin.create({ diff --git a/package.json b/package.json index b65cd989..06e3b7f2 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ ], "dependencies": { "ember-cli-babel": "^5.1.6", - "ember-getowner-polyfill": "^1.0.0" + "ember-getowner-polyfill": "^1.1.0" }, "ember-addon": { "configPath": "tests/dummy/config"