We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44d55c8 commit d30c9c7Copy full SHA for d30c9c7
addon/mixin.js
@@ -51,9 +51,9 @@ export default Ember.Mixin.create({
51
setUnknownProperty(key, value) {
52
const m = meta(this);
53
54
- if (m.proto === this) {
55
- // if marked as prototype then just defineProperty
56
- // rather than delegate
+ if (m.proto === this || (m.isInitializing && m.isInitializing())) {
+ // if marked as prototype or object is initializing then just
+ // defineProperty rather than delegate
57
defineProperty(this, key, null, value);
58
return value;
59
}
0 commit comments