Skip to content

Commit

Permalink
fix native getter application
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Garrett committed Apr 14, 2019
1 parent 2bd763e commit b2bf666
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vendor/ember-decorators-polyfill/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,13 @@ import {
this._computedDesc.setup(obj, key, meta);
} else if (gte('3.1.0')) {
let meta = Ember.meta(obj);
let desc = this._computedDesc;

Object.defineProperty(obj, key, {
configurable: true,
enumerable: true,
get() {
return this._computedDesc.get(key);
return desc.get(this, key);
},
});

Expand Down

0 comments on commit b2bf666

Please sign in to comment.