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

Delta Between Two Patch Sets: lib/prefs.js

Issue 29570614: Issue 5028 - Use browser namespace (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Left Patch Set: Use callback-based API for storage Created Oct. 9, 2017, 4:01 p.m.
Right Patch Set: Update adblockplusui dependency Created Oct. 17, 2017, 1:02 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « lib/popupBlocker.js ('k') | lib/requestBlocker.js » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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-present eyeo GmbH 3 * Copyright (C) 2006-present 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 /** 82 /**
83 * @see https://adblockplus.org/en/preferences#subscriptions_autoupdate 83 * @see https://adblockplus.org/en/preferences#subscriptions_autoupdate
84 * @type {boolean} 84 * @type {boolean}
85 */ 85 */
86 defaults.subscriptions_autoupdate = true; 86 defaults.subscriptions_autoupdate = true;
87 /** 87 /**
88 * @see https://adblockplus.org/en/preferences#subscriptions_exceptionsurl 88 * @see https://adblockplus.org/en/preferences#subscriptions_exceptionsurl
89 * @type {string} 89 * @type {string}
90 */ 90 */
91 defaults.subscriptions_exceptionsurl = "https://easylist-downloads.adblockplus.o rg/exceptionrules.txt"; 91 defaults.subscriptions_exceptionsurl = "https://easylist-downloads.adblockplus.o rg/exceptionrules.txt";
92 /**
93 * @see https://adblockplus.org/en/preferences#subscriptions_exceptionsurl_priva cy
94 * @type {string}
95 */
96 defaults.subscriptions_exceptionsurl_privacy = "https://easylist-downloads.adblo ckplus.org/exceptionrules-privacy-friendly.txt";
92 /** 97 /**
93 * @see https://adblockplus.org/en/preferences#subscriptions_antiadblockurl 98 * @see https://adblockplus.org/en/preferences#subscriptions_antiadblockurl
94 * @type {string} 99 * @type {string}
95 */ 100 */
96 defaults.subscriptions_antiadblockurl = "https://easylist-downloads.adblockplus. org/antiadblockfilters.txt"; 101 defaults.subscriptions_antiadblockurl = "https://easylist-downloads.adblockplus. org/antiadblockfilters.txt";
97 /** 102 /**
98 * @see https://adblockplus.org/en/preferences#documentation_link 103 * @see https://adblockplus.org/en/preferences#documentation_link
99 * @type {string} 104 * @type {string}
100 */ 105 */
101 defaults.documentation_link = "https://adblockplus.org/redirect?link=%LINK%&lang =%LANG%"; 106 defaults.documentation_link = "https://adblockplus.org/redirect?link=%LINK%&lang =%LANG%";
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 eventEmitter.emit(pref); 364 eventEmitter.emit(pref);
360 } 365 }
361 } 366 }
362 }); 367 });
363 } 368 }
364 369
365 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded); 370 Prefs.untilLoaded = Promise.all([localLoaded, managedLoaded]).then(onLoaded);
366 } 371 }
367 372
368 init(); 373 init();
LEFTRIGHT

Powered by Google App Engine
This is Rietveld