summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/browser.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-28 21:17:50 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-28 21:17:50 +0200
commit170aaecc47c7f6bb9ddb64fc0d61beec76cca65b (patch)
tree08143b5b4eb633abbb55f66b411ca908757df689 /application/palemoon/base/content/browser.js
parentc8409cc60bd54586e4a484c7ad15a2c408198dd7 (diff)
downloadUXP-170aaecc47c7f6bb9ddb64fc0d61beec76cca65b.tar
UXP-170aaecc47c7f6bb9ddb64fc0d61beec76cca65b.tar.gz
UXP-170aaecc47c7f6bb9ddb64fc0d61beec76cca65b.tar.lz
UXP-170aaecc47c7f6bb9ddb64fc0d61beec76cca65b.tar.xz
UXP-170aaecc47c7f6bb9ddb64fc0d61beec76cca65b.zip
[PALEMOON] [frontend vs backend] Part 2: Mass-replace global-scope let/const with var in Pale Moon and TychoAM
Issue #155 Part 2 for: https://github.com/MoonchildProductions/UXP/commit/931950a880b3550490422b1855c509be10586858
Diffstat (limited to 'application/palemoon/base/content/browser.js')
-rw-r--r--application/palemoon/base/content/browser.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js
index c8f287693..4bdac7850 100644
--- a/application/palemoon/base/content/browser.js
+++ b/application/palemoon/base/content/browser.js
@@ -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)) {