| Index: lib/notification.js |
| =================================================================== |
| --- a/lib/notification.js |
| +++ b/lib/notification.js |
| @@ -1,8 +1,9 @@ |
| +/* global Services */ |
| /* |
| * 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. |
| * |
| @@ -16,17 +17,17 @@ |
| */ |
| "use strict"; |
| /** |
| * @fileOverview Handles notifications. |
| */ |
| -const {Services} = Cu.import("resource://gre/modules/Services.jsm", {}); |
| +Cu.import("resource://gre/modules/Services.jsm"); |
| const {Prefs} = require("prefs"); |
| const {Downloader, Downloadable, |
| MILLIS_IN_MINUTE, MILLIS_IN_HOUR, MILLIS_IN_DAY} = require("downloader"); |
| const {Utils} = require("utils"); |
| const {Matcher, defaultMatcher} = require("matcher"); |
| const {Filter, RegExpFilter, WhitelistFilter} = require("filterClasses"); |