LEFT | RIGHT |
1 let backgroundPage = ext.backgroundPage.getWindow(); | 1 "use strict"; |
2 let require = backgroundPage.require; | |
3 | 2 |
4 let Services = backgroundPage.Services; | 3 const {require, Services} = ext.backgroundPage.getWindow(); |
5 let Synchronizer = require("synchronizer").Synchronizer; | |
6 let Utils = require("utils").Utils; | |
7 let Prefs = require("prefs").Prefs; | |
8 let FilterStorage = require("filterStorage").FilterStorage; | |
9 let FilterNotifier = require("filterNotifier").FilterNotifier; | |
10 | 4 |
11 let subscriptionClasses = require("subscriptionClasses"); | 5 const {Synchronizer} = require("synchronizer"); |
12 let Subscription = subscriptionClasses.Subscription; | 6 const {Utils} = require("utils"); |
13 let DownloadableSubscription = subscriptionClasses.DownloadableSubscription; | 7 const {Prefs} = require("prefs"); |
14 let filterClasses = require("filterClasses"); | 8 const {FilterStorage} = require("filterStorage"); |
15 let Filter = filterClasses.Filter; | 9 const {FilterNotifier} = require("filterNotifier"); |
16 let BlockingFilter = filterClasses.BlockingFilter; | 10 |
17 let defaultMatcher = require("matcher").defaultMatcher; | 11 const {Subscription, DownloadableSubscription} = require("subscriptionClasses"); |
| 12 const {Filter, BlockingFilter} = require("filterClasses"); |
| 13 const {defaultMatcher} = require("matcher"); |
18 | 14 |
19 /** | 15 /** |
20 * Shortcut for document.getElementById(id) | 16 * Shortcut for document.getElementById(id) |
21 */ | 17 */ |
22 function E(id) | 18 function E(id) |
23 { | 19 { |
24 return document.getElementById(id); | 20 return document.getElementById(id); |
25 } | 21 } |
LEFT | RIGHT |