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 /application/palemoon/components/downloads | |
parent | 4cfe5d84de0b8976f8bc5c005ae12ac3adf8f18a (diff) | |
download | UXP-931950a880b3550490422b1855c509be10586858.tar UXP-931950a880b3550490422b1855c509be10586858.tar.gz UXP-931950a880b3550490422b1855c509be10586858.tar.lz UXP-931950a880b3550490422b1855c509be10586858.tar.xz UXP-931950a880b3550490422b1855c509be10586858.zip |
Mass-replace global-scope let with var in Pale Moon and TychoAM
tag #155
Diffstat (limited to 'application/palemoon/components/downloads')
-rw-r--r-- | application/palemoon/components/downloads/DownloadsCommon.jsm | 2 | ||||
-rw-r--r-- | application/palemoon/components/downloads/content/contentAreaDownloadsView.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/application/palemoon/components/downloads/DownloadsCommon.jsm b/application/palemoon/components/downloads/DownloadsCommon.jsm index 0921f8400..c6614e780 100644 --- a/application/palemoon/components/downloads/DownloadsCommon.jsm +++ b/application/palemoon/components/downloads/DownloadsCommon.jsm @@ -104,7 +104,7 @@ const kPartialDownloadSuffix = ".part"; const kPrefBranch = Services.prefs.getBranch("browser.download."); -let PrefObserver = { +var PrefObserver = { QueryInterface: XPCOMUtils.generateQI([Ci.nsIObserver, Ci.nsISupportsWeakReference]), getPref: function PO_getPref(name) { diff --git a/application/palemoon/components/downloads/content/contentAreaDownloadsView.js b/application/palemoon/components/downloads/content/contentAreaDownloadsView.js index 29e2e368c..fbb18ab04 100644 --- a/application/palemoon/components/downloads/content/contentAreaDownloadsView.js +++ b/application/palemoon/components/downloads/content/contentAreaDownloadsView.js @@ -4,7 +4,7 @@ Components.utils.import("resource://gre/modules/PrivateBrowsingUtils.jsm"); -let ContentAreaDownloadsView = { +var ContentAreaDownloadsView = { init: function CADV_init() { let view = new DownloadsPlacesView(document.getElementById("downloadsRichListBox")); // Do not display the Places downloads in private windows |