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

Side by Side Diff: background.js

Issue 29544706: Noissue - Adapt check for devtools panel support for Firefox (Closed)
Patch Set: Use Services.vc.compare() Created Sept. 15, 2017, 4:49 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-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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 } 438 }
439 ); 439 );
440 } 440 }
441 else if (typeof response != "undefined") 441 else if (typeof response != "undefined")
442 { 442 {
443 reply(response); 443 reply(response);
444 } 444 }
445 } 445 }
446 }); 446 });
447 447
448 window.Services = { 448 window.Cu = {
Sebastian Noack 2017/09/15 16:51:47 This has been dead code. There is no global Servic
449 vc: { 449 import()
450 compare(v1, v2) 450 {
451 { 451 return {
452 return parseFloat(v1) - parseFloat(v2); 452 Services: {
453 } 453 vc: {
454 compare(v1, v2)
455 {
456 return parseFloat(v1) - parseFloat(v2);
457 }
458 }
459 }
460 };
454 } 461 }
455 }; 462 };
456 463
457 let filters = [ 464 let filters = [
458 "@@||alternate.de^$document", 465 "@@||alternate.de^$document",
459 "@@||der.postillion.com^$document", 466 "@@||der.postillion.com^$document",
460 "@@||taz.de^$document", 467 "@@||taz.de^$document",
461 "@@||amazon.de^$document", 468 "@@||amazon.de^$document",
462 "||biglemon.am/bg_poster/banner.jpg", 469 "||biglemon.am/bg_poster/banner.jpg",
463 "winfuture.de###header_logo_link", 470 "winfuture.de###header_logo_link",
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 }, 610 },
604 filter: { 611 filter: {
605 text: "||example.com/some-annoying-popup$popup", 612 text: "||example.com/some-annoying-popup$popup",
606 whitelisted: false, 613 whitelisted: false,
607 userDefined: true, 614 userDefined: true,
608 subscription: null 615 subscription: null
609 } 616 }
610 }); 617 });
611 }); 618 });
612 }()); 619 }());
OLDNEW
« no previous file with comments | « no previous file | messageResponder.js » ('j') | messageResponder.js » ('J')

Powered by Google App Engine
This is Rietveld