Skip to content
This repository was archived by the owner on Nov 30, 2018. It is now read-only.

Conversation

@nmccready
Copy link
Contributor

No description provided.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

dead deps

@nmccready
Copy link
Contributor Author

@cthrax

@nmccready
Copy link
Contributor Author

@wrummler

@nmccready
Copy link
Contributor Author

Ready for review.

@nmccready nmccready changed the title fixes issue /#1436 fixes issue #1436 & #1255 Aug 17, 2015
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this going to have performance implications?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably, but watchCollection was not firing since the childScope is essentially detached from the model the only way we can get the update is via models. So if we want simple changes like visible and editable they get dropped. But if the user knows to replace the model object instance then watchCollection should catch it.

I guess we could set it up to watchCollection or watch based on some setting. I didn't really care to go that deep; and instead just fix the issue.

Copy link
Contributor

Choose a reason for hiding this comment

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

Alright, I'd say let's throw a comment in there with "@todo" or something so we know where this is easily in the future and that the decision was conscious. That way if folks try to complain in the future, we can point them to the place to fix it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good.

@cthrax
Copy link
Contributor

cthrax commented Aug 17, 2015

See comments, otherwise, LGTM.

@nmccready
Copy link
Contributor Author

@cthrax comments added

@cthrax
Copy link
Contributor

cthrax commented Aug 17, 2015

👍

nmccready added a commit that referenced this pull request Aug 18, 2015
@nmccready nmccready merged commit 1f35166 into angular-ui:master Aug 18, 2015
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is where setVisible and other attributes were getting borked. As the child.scope never had the correct values.
@wrummler

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants