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

Side by Side Diff: node_modules/filterClasses.js

Issue 29336753: Issue 3671 - Split out contentBlockerList API (Closed)
Patch Set: Reworked API into ContentBlockerList class and addressed other feedback Created Feb. 22, 2016, 12:21 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
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 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 return prop.value; 713 return prop.value;
714 } 714 }
715 var regexp = Filter.toRegExp(this.regexpSource); 715 var regexp = Filter.toRegExp(this.regexpSource);
716 Object.defineProperty(this, "regexpString", 716 Object.defineProperty(this, "regexpString",
717 { 717 {
718 value: regexp 718 value: regexp
719 }); 719 });
720 return regexp; 720 return regexp;
721 } 721 }
722 }; 722 };
OLDNEW

Powered by Google App Engine
This is Rietveld