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

remove the else block from this code #50

Open
EpiphanyMachine opened this issue Aug 8, 2013 · 0 comments
Open

remove the else block from this code #50

EpiphanyMachine opened this issue Aug 8, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@EpiphanyMachine
Copy link
Member

this code can probably be refactored such that it doesn't have an else block. start with $scope.selected_rep.overview.leader = !!$scope.selected_rep.overview.leadership_role (or just omitting the leader property and using leadership_role

https://github.com/EpiphanyMachine/influence/blob/master/src/coffee/angular/controllers-c-individual.coffee#L35-L41

@ghost ghost assigned EpiphanyMachine Aug 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant