Skip to content

Commit

Permalink
Update computed.js
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner authored May 5, 2017
1 parent fcfd74a commit 49b42bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ember-metal/lib/computed.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ ComputedPropertyPrototype._set = function computedPropertySet(obj, keyName, valu
return ret;
}

propertyWillChange(obj, keyName);
propertyWillChange(obj, keyName, meta);

if (hadCachedValue) {
cache[keyName] = undefined;
Expand All @@ -428,7 +428,7 @@ ComputedPropertyPrototype._set = function computedPropertySet(obj, keyName, valu
cache[keyName] = ret;
}

propertyDidChange(obj, keyName);
propertyDidChange(obj, keyName, meta);

return ret;
};
Expand Down

0 comments on commit 49b42bc

Please sign in to comment.