Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set can-observation._value instead of .value #179

Merged
merged 1 commit into from
Jul 4, 2018

Conversation

chasenlehara
Copy link
Member

can-observation’s value property is going to be a getter, so now the ._value property needs to be used.

Related to canjs/can-observation#135

Copy link
Contributor

@phillipskevin phillipskevin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good (once can-observation is updated).

chasenlehara added a commit to canjs/can-observation that referenced this pull request Jul 3, 2018
This adds `_value` to every observation instance so it can be checked in packages that need to set the value directly.

This is really a hack for canjs/can-compute#138 and canjs/can-view-scope#179
can-observation’s value property is going to be a getter, so now the `._value` property needs to be used.

Related to canjs/can-observation#135
@chasenlehara chasenlehara force-pushed the can-observation-value branch from 3efb5eb to 11d3cdd Compare July 3, 2018 23:11
@chasenlehara chasenlehara merged commit f5cbdef into master Jul 4, 2018
@chasenlehara chasenlehara deleted the can-observation-value branch July 4, 2018 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants