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-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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 Subscription.prototype = | 46 Subscription.prototype = |
47 { | 47 { |
48 /** | 48 /** |
49 * Download location of the subscription | 49 * Download location of the subscription |
50 * @type {string} | 50 * @type {string} |
51 */ | 51 */ |
52 url: null, | 52 url: null, |
53 | 53 |
54 /** | 54 /** |
| 55 * Whether the subscription is trusted. |
| 56 * @type {boolean} |
| 57 */ |
| 58 trusted: false, |
| 59 |
| 60 /** |
55 * Filters contained in the filter subscription | 61 * Filters contained in the filter subscription |
56 * @type {Filter[]} | 62 * @type {Filter[]} |
57 */ | 63 */ |
58 filters: null, | 64 filters: null, |
59 | 65 |
60 _title: null, | 66 _title: null, |
61 _fixedTitle: false, | 67 _fixedTitle: false, |
62 _disabled: false, | 68 _disabled: false, |
63 | 69 |
64 /** | 70 /** |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 if (this.errors) | 571 if (this.errors) |
566 buffer.push("errors=" + this.errors); | 572 buffer.push("errors=" + this.errors); |
567 if (this.version) | 573 if (this.version) |
568 buffer.push("version=" + this.version); | 574 buffer.push("version=" + this.version); |
569 if (this.requiredVersion) | 575 if (this.requiredVersion) |
570 buffer.push("requiredVersion=" + this.requiredVersion); | 576 buffer.push("requiredVersion=" + this.requiredVersion); |
571 if (this.downloadCount) | 577 if (this.downloadCount) |
572 buffer.push("downloadCount=" + this.downloadCount); | 578 buffer.push("downloadCount=" + this.downloadCount); |
573 } | 579 } |
574 }); | 580 }); |
OLD | NEW |