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

Fixes can.Map::compute to handle deeply nested properties #711

Merged
merged 2 commits into from Jan 31, 2014

Conversation

justinbmeyer
Copy link
Contributor

The following test now passes:

var data = new can.Map({});
var compute = data.compute('summary.button');
compute.bind('change', function () {
            ok(true, "compute changed");
});

data.attr({
  summary: { button: 'hey' }
}, true);

justinbmeyer added a commit that referenced this pull request Jan 31, 2014
Fixes can.Map::compute to handle deeply nested properties
@justinbmeyer justinbmeyer merged commit f399b5f into master Jan 31, 2014
@justinbmeyer justinbmeyer deleted the map-compute branch February 1, 2014 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant