Left: | ||
Right: |
OLD | NEW |
---|---|
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-2016 Eyeo GmbH | 3 * Copyright (C) 2006-2016 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
149 defaults.notifications_showui = false; | 149 defaults.notifications_showui = false; |
150 | 150 |
151 /** | 151 /** |
152 * Notification categories to be ignored. | 152 * Notification categories to be ignored. |
153 * | 153 * |
154 * @type {string[]} | 154 * @type {string[]} |
155 */ | 155 */ |
156 defaults.notifications_ignoredcategories = []; | 156 defaults.notifications_ignoredcategories = []; |
157 | 157 |
158 /** | 158 /** |
159 * Whether to show the developer tools panel. | |
160 * | |
161 * @type {boolean} | |
162 */ | |
163 defaults.show_devtools_panel = true; | |
Thomas Greiner
2016/03/14 16:26:05
Since there's no mention in the devtools panel on
Sebastian Noack
2016/03/14 16:39:35
It's already bad enough that we cannot integrate i
kzar
2016/03/14 17:52:20
Sebastian asked me for a third opinion in IRC so h
| |
164 | |
165 /** | |
159 * @namespace | 166 * @namespace |
160 * @static | 167 * @static |
161 */ | 168 */ |
162 let Prefs = exports.Prefs = { | 169 let Prefs = exports.Prefs = { |
163 /** | 170 /** |
164 * Fired when the value of a preference changes. | 171 * Fired when the value of a preference changes. |
165 * | 172 * |
166 * @event | 173 * @event |
167 * @property {string} pref The name of the preference that changed. | 174 * @property {string} pref The name of the preference that changed. |
168 */ | 175 */ |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
276 Prefs.onChanged._dispatch(pref); | 283 Prefs.onChanged._dispatch(pref); |
277 } | 284 } |
278 } | 285 } |
279 }); | 286 }); |
280 } | 287 } |
281 | 288 |
282 Prefs.isLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded); | 289 Prefs.isLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded); |
283 } | 290 } |
284 | 291 |
285 init(); | 292 init(); |
OLD | NEW |