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

Unified Diff: lib/prefs.js

Issue 5797488346791936: Issue 1107 - Support notifications (Closed)
Patch Set: remove local Notifications Created Jan. 22, 2015, 2:01 p.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
Index: lib/prefs.js
diff --git a/lib/prefs.js b/lib/prefs.js
index 4705ba02603ec1ce256c6b7bc3b0ea13b7be80c0..fd9ddb57f65cfc8fedc852b0ac2a61e9595f4835 100644
--- a/lib/prefs.js
+++ b/lib/prefs.js
@@ -39,7 +39,11 @@ let defaults = {
update_last_error: 0,
update_soft_expiration: 0,
update_hard_expiration: 0,
- currentVersion: "0.0"
+ currentVersion: "0.0",
+ notificationdata: {
+ shown: [],
+ },
+ notificationurl: "https://notification.adblockplus.org/notification.json"
};
let values = Object.create(defaults);

Powered by Google App Engine
This is Rietveld