Clean up desktop notifications
Review Request #8072 — Created March 22, 2016 and submitted
This patch fixes the last remaining issues on
https://reviews.reviewboard.org/r/7660/, as well as porting the bulk of
the change to ES6.
Ran JS tests.
Description | From | Last Updated |
---|---|---|
Comma, not semicolon. |
|
|
Can this just be inline below? |
|
|
"Update" |
|
|
Space before {. That's from the original change. Can you go through and make sure there aren't others like this … |
|
|
Indented 1 too many spaces |
|
|
Can we wrap the whole conditional in parens? |
|
|
No indentation for the description. Same below. |
|
|
"object" |
|
|
Can we assert the presence of the options we need? |
|
|
Why the extra variable? |
|
|
Can we do one per line? |
|
|
Alphabetical order. |
|
|
Alphabetical order. |
|
- Change Summary:
-
Address David and Christian's issues
- Summary:
-
Clean up desktop notificaitonsClean up desktop notifications
- Diff:
-
Revision 2 (+197 -192)
![reviewbot](https://reviews.reviewboard.org/static/ext/reviewbotext.extension.ReviewBotExtension/images/reviewbot.png)
-
Tool: Pyflakes Processed Files: reviewboard/staticbundles.py Ignored Files: reviewboard/static/rb/js/ui/views/tests/notificationManagerTests.es6.js reviewboard/static/rb/js/ui/views/notificationManager.es6.js reviewboard/static/rb/js/ui/managers/notificationManagerModel.js reviewboard/static/rb/js/pages/views/tests/reviewablePageViewTests.js reviewboard/static/rb/js/ui/managers/tests/notificationManagerModelTests.js reviewboard/static/rb/js/pages/views/reviewablePageView.js Tool: PEP8 Style Checker Processed Files: reviewboard/staticbundles.py Ignored Files: reviewboard/static/rb/js/ui/views/tests/notificationManagerTests.es6.js reviewboard/static/rb/js/ui/views/notificationManager.es6.js reviewboard/static/rb/js/ui/managers/notificationManagerModel.js reviewboard/static/rb/js/pages/views/tests/reviewablePageViewTests.js reviewboard/static/rb/js/ui/managers/tests/notificationManagerModelTests.js reviewboard/static/rb/js/pages/views/reviewablePageView.js