Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Conversation

caitp
Copy link
Contributor

@caitp caitp commented Sep 1, 2014

5f3f25a included a breaking change which was not documented, which is that
the return value of directive constructors is ignored. The reason they are
ignored is to ensure that the correct object is bound to when binding
properties to the controller. It may be possible to come up with a better
solution which informs the developer that what they are doing is wrong, rather
than just breaking instead.

Closes #8876

5f3f25a included a breaking change which was not documented, which is that the return value of directive
constructors is ignored. The reason they are ignored is to ensure that the correct object is bound to when
binding properties to the controller. It may be possible to come up with a better solution which informs
the developer that what they are doing is wrong, rather than just breaking instead.

Closes angular#8876
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Return" in directive's controllers no longer works in 1.3.0-rc.0
2 participants