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

Side by Side Diff: background.js

Issue 29339395: Noissue - Make the options page respond to subscription title and homepage changes (Closed)
Patch Set: Created April 5, 2016, 7:05 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 | messageResponder.js » ('j') | messageResponder.js » ('J')
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-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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 categories.splice(index, 1); 131 categories.splice(index, 1);
132 modules.prefs.Prefs.notifications_ignoredcategories = categories; 132 modules.prefs.Prefs.notifications_ignoredcategories = categories;
133 } 133 }
134 } 134 }
135 }; 135 };
136 136
137 modules.subscriptionClasses = { 137 modules.subscriptionClasses = {
138 Subscription: function(url) 138 Subscription: function(url)
139 { 139 {
140 this.url = url; 140 this.url = url;
141 this.title = "Subscription " + url;
Sebastian Noack 2016/04/05 19:09:54 Otherwise, any subscription update would cause the
142 this._disabled = false; 141 this._disabled = false;
143 this._lastDownload = 1234; 142 this._lastDownload = 1234;
144 this.homepage = "https://easylist.adblockplus.org/"; 143 this.homepage = "https://easylist.adblockplus.org/";
145 this.downloadStatus = params.downloadStatus; 144 this.downloadStatus = params.downloadStatus;
146 }, 145 },
147 146
148 SpecialSubscription: function(url) 147 SpecialSubscription: function(url)
149 { 148 {
150 this.url = url; 149 this.url = url;
151 this.disabled = false; 150 this.disabled = false;
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 478
480 if (params.safariContentBlocker) 479 if (params.safariContentBlocker)
481 { 480 {
482 global.safari = { 481 global.safari = {
483 extension: { 482 extension: {
484 setContentBlocker: function() {} 483 setContentBlocker: function() {}
485 } 484 }
486 }; 485 };
487 } 486 }
488 })(this); 487 })(this);
OLDNEW
« no previous file with comments | « no previous file | messageResponder.js » ('j') | messageResponder.js » ('J')

Powered by Google App Engine
This is Rietveld