diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-04-16 14:47:03 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-04-16 14:48:23 +0200 |
commit | 931950a880b3550490422b1855c509be10586858 (patch) | |
tree | 163b2a63f0ae89ee195c288d6c1e8e4afbb15d86 /toolkit/mozapps/extensions/DeferredSave.jsm | |
parent | 4cfe5d84de0b8976f8bc5c005ae12ac3adf8f18a (diff) | |
download | uxp-931950a880b3550490422b1855c509be10586858.tar.gz |
Mass-replace global-scope let with var in Pale Moon and TychoAM
tag #155
Diffstat (limited to 'toolkit/mozapps/extensions/DeferredSave.jsm')
-rw-r--r-- | toolkit/mozapps/extensions/DeferredSave.jsm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/mozapps/extensions/DeferredSave.jsm b/toolkit/mozapps/extensions/DeferredSave.jsm index d7f5b88642..7587ce83bc 100644 --- a/toolkit/mozapps/extensions/DeferredSave.jsm +++ b/toolkit/mozapps/extensions/DeferredSave.jsm @@ -12,7 +12,7 @@ Cu.import("resource://gre/modules/osfile.jsm"); Cu.import("resource://gre/modules/Promise.jsm"); // Make it possible to mock out timers for testing -let MakeTimer = () => Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer); +var MakeTimer = () => Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer); this.EXPORTED_SYMBOLS = ["DeferredSave"]; @@ -23,9 +23,9 @@ Cu.import("resource://gre/modules/Log.jsm"); //Configure a logger at the parent 'DeferredSave' level to format //messages for all the modules under DeferredSave.* const DEFERREDSAVE_PARENT_LOGGER_ID = "DeferredSave"; -let parentLogger = Log.repository.getLogger(DEFERREDSAVE_PARENT_LOGGER_ID); +var parentLogger = Log.repository.getLogger(DEFERREDSAVE_PARENT_LOGGER_ID); parentLogger.level = Log.Level.Warn; -let formatter = new Log.BasicFormatter(); +var formatter = new Log.BasicFormatter(); //Set parent logger (and its children) to append to //the Javascript section of the Browser Console parentLogger.addAppender(new Log.ConsoleAppender(formatter)); |