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

Projects
None yet
1 participant
@justinbmeyer
Contributor

justinbmeyer commented Jan 31, 2014

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

Merge pull request #711 from bitovi/map-compute
Fixes can.Map::compute to handle deeply nested properties

@justinbmeyer justinbmeyer merged commit f399b5f into master Jan 31, 2014

1 check passed

default The Travis CI build passed
Details

@justinbmeyer justinbmeyer deleted the map-compute branch Feb 1, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment