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

Side by Side Diff: background.js

Issue 29363765: Noissue - Remove unused stub for ElemHideEmulation.getRulesForDomain (Closed) Base URL: https://bitbucket.org/fhd/adblockplusui
Patch Set: Created Nov. 22, 2016, 2:53 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-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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 var blocked = params.blockedURLs.split(","); 309 var blocked = params.blockedURLs.split(",");
310 if (blocked.indexOf(url) >= 0) 310 if (blocked.indexOf(url) >= 0)
311 return new modules.filterClasses.BlockingFilter(); 311 return new modules.filterClasses.BlockingFilter();
312 else 312 else
313 return null; 313 return null;
314 } 314 }
315 } 315 }
316 }; 316 };
317 317
318 modules.elemHideEmulation = { 318 modules.elemHideEmulation = {
319 ElemHideEmulation: { 319 ElemHideEmulation: {}
320 getRulesForDomain: function(domain) { }
321 }
322 }; 320 };
323 321
324 modules.filterNotifier = { 322 modules.filterNotifier = {
325 FilterNotifier: new EventEmitter() 323 FilterNotifier: new EventEmitter()
326 }; 324 };
327 325
328 modules.info = { 326 modules.info = {
329 platform: "gecko", 327 platform: "gecko",
330 platformVersion: "34.0", 328 platformVersion: "34.0",
331 application: "firefox", 329 application: "firefox",
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 478
481 if (params.safariContentBlocker) 479 if (params.safariContentBlocker)
482 { 480 {
483 global.safari = { 481 global.safari = {
484 extension: { 482 extension: {
485 setContentBlocker: function() {} 483 setContentBlocker: function() {}
486 } 484 }
487 }; 485 };
488 } 486 }
489 })(this); 487 })(this);
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