Index: chrome/content/common.js |
=================================================================== |
--- a/chrome/content/common.js |
+++ b/chrome/content/common.js |
@@ -1,13 +1,14 @@ |
const Cc = Components.classes; |
const Ci = Components.interfaces; |
const Cr = Components.results; |
const Cu = Components.utils; |
+Cu.import("resource://gre/modules/XPCOMUtils.jsm"); |
Cu.import("resource://gre/modules/Services.jsm"); |
function require(module) |
{ |
let result = {}; |
result.wrappedJSObject = result; |
Services.obs.notifyObservers(result, "adblockplus-require", module); |
return result.exports; |
@@ -36,16 +37,17 @@ let {Subscription, SpecialSubscription, |
ExternalSubscription, DownloadableSubscription} = require("subscriptionClasses"); |
let {defaultMatcher, Matcher, CombinedMatcher} = require("matcher"); |
let {FilterListener} = require("filterListener"); |
let {FilterNotifier} = require("filterNotifier"); |
let {FilterStorage} = require("filterStorage"); |
let {ElemHide} = require("elemHide"); |
let {Prefs} = require("prefs"); |
let {RequestNotifier} = require("requestNotifier"); |
+let {Synchronizer} = require("synchronizer"); |
let {UI} = require("ui"); |
let {Utils} = require("utils"); |
let geckoVersion = Services.appinfo.platformVersion; |
function compareGeckoVersion(version) |
{ |
return Services.vc.compare(geckoVersion, version); |
} |