| Index: lib/subscriptionClasses.js |
| =================================================================== |
| --- a/lib/subscriptionClasses.js |
| +++ b/lib/subscriptionClasses.js |
| @@ -47,16 +47,22 @@ |
| { |
| /** |
| * Download location of the subscription |
| * @type {string} |
| */ |
| url: null, |
| /** |
| + * Whether the subscription is trusted. |
| + * @type {boolean} |
| + */ |
| + trusted: false, |
| + |
| + /** |
| * Filters contained in the filter subscription |
| * @type {Filter[]} |
| */ |
| filters: null, |
| _title: null, |
| _fixedTitle: false, |
| _disabled: false, |
| @@ -237,16 +243,21 @@ |
| function SpecialSubscription(url, title) |
| { |
| Subscription.call(this, url, title); |
| } |
| exports.SpecialSubscription = SpecialSubscription; |
| SpecialSubscription.prototype = extend(Subscription, { |
| /** |
| + * @see Subscription.trusted |
| + */ |
| + trusted: true, |
| + |
| + /** |
| * Filter types that should be added to this subscription by default |
| * (entries should correspond to keys in SpecialSubscription.defaultsMap). |
| * @type {string[]} |
| */ |
| defaults: null, |
| /** |
| * Tests whether a filter should be added to this group by default |