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

Optimize unreadNotifications counter method #94

Open
anselmbradford opened this issue May 2, 2014 · 0 comments
Open

Optimize unreadNotifications counter method #94

anselmbradford opened this issue May 2, 2014 · 0 comments

Comments

@anselmbradford
Copy link
Member

The unreadNotifications function provides a means for the view to know how many notifications are unread so that it may easily handle notifying the user when all notices have been read. However, the function needs refactoring to be more efficient:
https://github.com/codeforamerica/trails-mobile/blob/master/www/js/application/controllers.js#L81

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

No branches or pull requests

2 participants