Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: notification.js

Issue 29374674: Issue 4864 - Start using ESLint for adblockpluschrome (Closed)
Patch Set: Address Sebastian's feedback, don't update adblockpluscore Created March 30, 2017, 7:08 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« lib/devtools.js ('K') | « lib/whitelisting.js ('k') | options.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: notification.js
diff --git a/notification.js b/notification.js
index ea6b43485e15322ecb72631d5a154de7646e0fc4..9f14d7fcf06dc67680bc1c49603434ff4fd45656 100644
--- a/notification.js
+++ b/notification.js
@@ -97,6 +97,7 @@ window.addEventListener("load", () =>
break;
case "notification-optout":
Notification.toggleIgnoreCategory("*", true);
+ // Falls through.
Sebastian Noack 2017/03/30 18:57:59 This switch has mere 3 cases. If we discourage fal
kzar 2017/03/31 03:42:20 Done.
case "notification-hide":
notificationElement.hidden = true;
notification.onClicked();
« lib/devtools.js ('K') | « lib/whitelisting.js ('k') | options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld