Index: lib/synchronizer.js |
=================================================================== |
--- a/lib/synchronizer.js |
+++ b/lib/synchronizer.js |
@@ -22,31 +22,31 @@ |
Cu.import("resource://gre/modules/XPCOMUtils.jsm"); |
Cu.import("resource://gre/modules/Services.jsm"); |
-let {Downloader, Downloadable, |
+var {Downloader, Downloadable, |
MILLIS_IN_SECOND, MILLIS_IN_MINUTE, MILLIS_IN_HOUR, MILLIS_IN_DAY} = require("downloader"); |
-let {Filter, CommentFilter} = require("filterClasses"); |
-let {FilterStorage} = require("filterStorage"); |
-let {FilterNotifier} = require("filterNotifier"); |
-let {Prefs} = require("prefs"); |
-let {Subscription, DownloadableSubscription} = require("subscriptionClasses"); |
-let {Utils} = require("utils"); |
+var {Filter, CommentFilter} = require("filterClasses"); |
+var {FilterStorage} = require("filterStorage"); |
+var {FilterNotifier} = require("filterNotifier"); |
+var {Prefs} = require("prefs"); |
+var {Subscription, DownloadableSubscription} = require("subscriptionClasses"); |
+var {Utils} = require("utils"); |
-let INITIAL_DELAY = 1 * MILLIS_IN_MINUTE; |
-let CHECK_INTERVAL = 1 * MILLIS_IN_HOUR; |
-let DEFAULT_EXPIRATION_INTERVAL = 5 * MILLIS_IN_DAY; |
+var INITIAL_DELAY = 1 * MILLIS_IN_MINUTE; |
+var CHECK_INTERVAL = 1 * MILLIS_IN_HOUR; |
+var DEFAULT_EXPIRATION_INTERVAL = 5 * MILLIS_IN_DAY; |
/** |
* The object providing actual downloading functionality. |
* @type Downloader |
*/ |
-let downloader = null; |
+var downloader = null; |
/** |
* This object is responsible for downloading filter subscriptions whenever |
* necessary. |
* @class |
*/ |
-let Synchronizer = exports.Synchronizer = |
+var Synchronizer = exports.Synchronizer = |
{ |
/** |
* Called on module startup. |