| OLD | NEW | 
|---|
| 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-2017 eyeo GmbH | 3  * Copyright (C) 2006-2017 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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 548   } | 548   } | 
| 549 }; | 549 }; | 
| 550 RegExpFilter.typeMap = { | 550 RegExpFilter.typeMap = { | 
| 551   OTHER: 1, | 551   OTHER: 1, | 
| 552   SCRIPT: 2, | 552   SCRIPT: 2, | 
| 553   IMAGE: 4, | 553   IMAGE: 4, | 
| 554   STYLESHEET: 8, | 554   STYLESHEET: 8, | 
| 555   OBJECT: 16, | 555   OBJECT: 16, | 
| 556   SUBDOCUMENT: 32, | 556   SUBDOCUMENT: 32, | 
| 557   DOCUMENT: 64, | 557   DOCUMENT: 64, | 
|  | 558   WEBSOCKET: 128, | 
|  | 559   WEBRTC: 256, | 
| 558   XBL: 1, | 560   XBL: 1, | 
| 559   PING: 1024, | 561   PING: 1024, | 
| 560   XMLHTTPREQUEST: 2048, | 562   XMLHTTPREQUEST: 2048, | 
| 561   OBJECT_SUBREQUEST: 4096, | 563   OBJECT_SUBREQUEST: 4096, | 
| 562   DTD: 1, | 564   DTD: 1, | 
| 563   MEDIA: 16384, | 565   MEDIA: 16384, | 
| 564   FONT: 32768, | 566   FONT: 32768, | 
| 565   BACKGROUND: 4, | 567   BACKGROUND: 4, | 
| 566   POPUP: 268435456, | 568   POPUP: 268435456, | 
| 567   GENERICBLOCK: 536870912, | 569   GENERICBLOCK: 536870912, | 
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 713       return prop.value; | 715       return prop.value; | 
| 714     } | 716     } | 
| 715     var regexp = Filter.toRegExp(this.regexpSource); | 717     var regexp = Filter.toRegExp(this.regexpSource); | 
| 716     Object.defineProperty(this, "regexpString", | 718     Object.defineProperty(this, "regexpString", | 
| 717     { | 719     { | 
| 718       value: regexp | 720       value: regexp | 
| 719     }); | 721     }); | 
| 720     return regexp; | 722     return regexp; | 
| 721   } | 723   } | 
| 722 }; | 724 }; | 
| OLD | NEW | 
|---|