Left: | ||
Right: |
LEFT | RIGHT |
---|---|
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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
495 return; | 495 return; |
496 } | 496 } |
497 } | 497 } |
498 pattern = null; | 498 pattern = null; |
499 return processPatterns(); | 499 return processPatterns(); |
500 }; | 500 }; |
501 | 501 |
502 processPatterns(); | 502 processPatterns(); |
503 }, | 503 }, |
504 | 504 |
505 // this pair ot setter/getter is only used in the tests to | 505 // This property is only used in the tests |
Wladimir Palant
2017/08/25 20:57:41
Nit: "This property is only used" (simpler and cap
hub
2017/08/26 01:45:06
Done.
| |
506 // shorten the invocation interval | 506 // to shorten the invocation interval |
507 get MIN_INVOCATION_INTERVAL() | 507 get MIN_INVOCATION_INTERVAL() |
508 { | 508 { |
509 return MIN_INVOCATION_INTERVAL; | 509 return MIN_INVOCATION_INTERVAL; |
510 }, | 510 }, |
511 | 511 |
512 set MIN_INVOCATION_INTERVAL(interval) | 512 set MIN_INVOCATION_INTERVAL(interval) |
513 { | 513 { |
514 MIN_INVOCATION_INTERVAL = interval; | 514 MIN_INVOCATION_INTERVAL = interval; |
515 }, | 515 }, |
516 | 516 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
607 subtree: true | 607 subtree: true |
608 } | 608 } |
609 ); | 609 ); |
610 document.addEventListener("load", this.onLoad.bind(this), true); | 610 document.addEventListener("load", this.onLoad.bind(this), true); |
611 } | 611 } |
612 }); | 612 }); |
613 } | 613 } |
614 }; | 614 }; |
615 | 615 |
616 exports.ElemHideEmulation = ElemHideEmulation; | 616 exports.ElemHideEmulation = ElemHideEmulation; |
LEFT | RIGHT |