| Index: lib/filterStorage.js |
| =================================================================== |
| --- a/lib/filterStorage.js |
| +++ b/lib/filterStorage.js |
| @@ -1,8 +1,9 @@ |
| +/* global Services, FileUtils */ |
| /* |
| * This file is part of Adblock Plus <https://adblockplus.org/>, |
| * Copyright (C) 2006-2017 eyeo GmbH |
| * |
| * Adblock Plus is free software: you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 3 as |
| * published by the Free Software Foundation. |
| * |
| @@ -17,18 +18,18 @@ |
| "use strict"; |
| /** |
| * @fileOverview FilterStorage class responsible for managing user's |
| * subscriptions and filters. |
| */ |
| -const {FileUtils} = Cu.import("resource://gre/modules/FileUtils.jsm", {}); |
| -const {Services} = Cu.import("resource://gre/modules/Services.jsm", {}); |
| +Cu.import("resource://gre/modules/FileUtils.jsm"); |
| +Cu.import("resource://gre/modules/Services.jsm"); |
| const {IO} = require("io"); |
| const {Prefs} = require("prefs"); |
| const {Filter, ActiveFilter} = require("filterClasses"); |
| const {Subscription, SpecialSubscription, |
| ExternalSubscription} = require("subscriptionClasses"); |
| const {FilterNotifier} = require("filterNotifier"); |
| const {Utils} = require("utils"); |