| Index: lib/contentPolicy.js |
| =================================================================== |
| --- a/lib/contentPolicy.js |
| +++ b/lib/contentPolicy.js |
| @@ -47,17 +47,17 @@ let nonVisualTypes = ["SCRIPT", "STYLESH |
| * Randomly generated class name, to be applied to collapsed nodes. |
| */ |
| let collapsedClass = ""; |
| /** |
| * Public policy checking functions and auxiliary objects |
| * @class |
| */ |
| -let Policy = exports.Policy = |
| +var Policy = exports.Policy = |
| { |
| /** |
| * Map of content type identifiers by their name. |
| * @type Object |
| */ |
| type: {}, |
| /** |
| @@ -354,17 +354,17 @@ let Policy = exports.Policy = |
| } |
| }; |
| Policy.init(); |
| /** |
| * Actual nsIContentPolicy and nsIChannelEventSink implementation |
| * @class |
| */ |
| -let PolicyImplementation = |
| +var PolicyImplementation = |
|
Wladimir Palant
2015/10/16 12:15:10
This is only marginally related - it unbreaks Diag
|
| { |
| classDescription: "Adblock Plus content policy", |
| classID: Components.ID("cfeaabe6-1dd1-11b2-a0c6-cb5c268894c9"), |
| contractID: "@adblockplus.org/abp/policy;1", |
| xpcom_categories: ["content-policy", "net-channel-event-sinks"], |
| /** |
| * Registers the content policy on startup. |