summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components
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/components
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/components')
-rw-r--r--application/palemoon/components/distribution.js8
-rw-r--r--application/palemoon/components/sessionstore/content/aboutSessionRestore.js6
-rw-r--r--application/palemoon/components/sessionstore/content/content-sessionStore.js2
3 files changed, 8 insertions, 8 deletions
diff --git a/application/palemoon/components/distribution.js b/application/palemoon/components/distribution.js
index b44b5bed3..d3300604e 100644
--- a/application/palemoon/components/distribution.js
+++ b/application/palemoon/components/distribution.js
@@ -4,10 +4,10 @@
this.EXPORTED_SYMBOLS = [ "DistributionCustomizer" ];
-const Ci = Components.interfaces;
-const Cc = Components.classes;
-const Cr = Components.results;
-const Cu = Components.utils;
+var Ci = Components.interfaces;
+var Cc = Components.classes;
+var Cr = Components.results;
+var Cu = Components.utils;
const DISTRIBUTION_CUSTOMIZATION_COMPLETE_TOPIC =
"distribution-customization-complete";
diff --git a/application/palemoon/components/sessionstore/content/aboutSessionRestore.js b/application/palemoon/components/sessionstore/content/aboutSessionRestore.js
index cae3bf4de..2459b67f5 100644
--- a/application/palemoon/components/sessionstore/content/aboutSessionRestore.js
+++ b/application/palemoon/components/sessionstore/content/aboutSessionRestore.js
@@ -2,9 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-const Cc = Components.classes;
-const Ci = Components.interfaces;
-const Cu = Components.utils;
+var Cc = Components.classes;
+var Ci = Components.interfaces;
+var Cu = Components.utils;
var gStateObject;
var gTreeData;
diff --git a/application/palemoon/components/sessionstore/content/content-sessionStore.js b/application/palemoon/components/sessionstore/content/content-sessionStore.js
index bdf0fef0c..e3e956ef2 100644
--- a/application/palemoon/components/sessionstore/content/content-sessionStore.js
+++ b/application/palemoon/components/sessionstore/content/content-sessionStore.js
@@ -10,7 +10,7 @@ function debug(msg) {
* Listens for and handles content events that we need for the
* session store service to be notified of state changes in content.
*/
-let EventListener = {
+var EventListener = {
DOM_EVENTS: [
"pageshow", "change", "input"