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

Side by Side Diff: lib/prefs.js

Issue 5911246494760960: Issue 2640 - Added missing notifications_ignoredcategories preference (Closed)
Patch Set: Created June 4, 2015, 9:06 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 /** 136 /**
137 * Whether to suppress the first run page. This preference isn't 137 * Whether to suppress the first run page. This preference isn't
138 * set by the extension but can be pre-configured externally. 138 * set by the extension but can be pre-configured externally.
139 * 139 *
140 * @see https://adblockplus.org/development-builds/suppressing-the-first-run-pag e-on-chrome 140 * @see https://adblockplus.org/development-builds/suppressing-the-first-run-pag e-on-chrome
141 * @type {boolean} 141 * @type {boolean}
142 */ 142 */
143 defaults.suppress_first_run_page = false; 143 defaults.suppress_first_run_page = false;
144 144
145 /** 145 /**
146 * Notification categories to be ignored.
147 *
148 * @type {string[]}
149 */
150 defaults.notifications_ignoredcategories = [];
Thomas Greiner 2015/06/04 21:44:31 #2192 also introduced the "notifications_showui" b
Sebastian Noack 2015/06/04 21:46:30 Argh, I just pushed the change this very moment. B
151
152 /**
146 * @namespace 153 * @namespace
147 * @static 154 * @static
148 */ 155 */
149 let Prefs = exports.Prefs = { 156 let Prefs = exports.Prefs = {
150 /** 157 /**
151 * Fired when the value of a preference changes. 158 * Fired when the value of a preference changes.
152 * 159 *
153 * @event 160 * @event
154 * @property {string} pref The name of the preference that changed. 161 * @property {string} pref The name of the preference that changed.
155 */ 162 */
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 }); 309 });
303 } 310 }
304 else 311 else
305 { 312 {
306 managedLoaded = true; 313 managedLoaded = true;
307 checkLoaded(); 314 checkLoaded();
308 } 315 }
309 } 316 }
310 317
311 init(); 318 init();
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld