Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/synchronizer.js

Issue 29332065: Issue 3380 - synchronizer unit tests are broken (Closed)
Patch Set: Created Dec. 7, 2015, 3:45 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld