Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Fix event binding edge case#1

Merged
ProLoser merged 1 commit intoangular-ui:masterfrom
glebm:master
Apr 16, 2013
Merged

Fix event binding edge case#1
ProLoser merged 1 commit intoangular-ui:masterfrom
glebm:master

Conversation

@glebm
Copy link
Copy Markdown
Contributor

@glebm glebm commented Apr 16, 2013

inside an ng-repeat, when the collection is empty the watch still gets triggered, but with undefined as value. We shouldn't bind events in this case.

inside an ng-repeat, when the collection is empty the watch still gets triggered, but with undefined as value. We shouldn't bind events in this case.
ProLoser added a commit that referenced this pull request Apr 16, 2013
Fix event binding edge case
@ProLoser ProLoser merged commit b07d8f1 into angular-ui:master Apr 16, 2013
@ProLoser
Copy link
Copy Markdown
Member

I'm merging this for now as I need to do a slight refactor to this repo. Do you think you can add some unit tests that show what you were fixing?

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