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: C++03 Created Jan. 23, 2015, 10:52 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
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: [],
Felix Dahlke 2015/01/23 13:25:55 Wouldn't it work all the same if we initialised no
sergei 2015/01/23 14:48:19 May be some previous test covered the case when it
+ },
+ notificationurl: "https://notification.adblockplus.org/notification.json"
};
let values = Object.create(defaults);

Powered by Google App Engine
This is Rietveld