[PALEMOON] [frontend vs backend] Part 2: Mass-replace global-scope let/const with var in Pale Moon and TychoAM

Issue #155

Part 2 for:
931950a880
This commit is contained in:
janekptacijarabaci 2018-05-28 21:17:50 +02:00 committed by Roy Tam
commit 10ec23e5a8
17 changed files with 43 additions and 39 deletions

View file

@ -3098,6 +3098,8 @@ const BrowserSearch = {
},
};
XPCOMUtils.defineConstant(this, "BrowserSearch", BrowserSearch);
function FillHistoryMenu(aParent) {
// Lazily add the hover listeners on first showing and never remove them
if (!aParent.hasStatusListener) {
@ -6770,7 +6772,7 @@ function getTabModalPromptBox(aWindow) {
function getBrowser() gBrowser;
function getNavToolbox() gNavToolbox;
let gPrivateBrowsingUI = {
var gPrivateBrowsingUI = {
init: function PBUI_init() {
// Do nothing for normal windows
if (!PrivateBrowsingUtils.isWindowPrivate(window)) {