diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-28 21:17:50 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-28 21:17:50 +0200 |
commit | 170aaecc47c7f6bb9ddb64fc0d61beec76cca65b (patch) | |
tree | 08143b5b4eb633abbb55f66b411ca908757df689 /toolkit/mozapps/extensions/internal/GMPProvider.jsm | |
parent | c8409cc60bd54586e4a484c7ad15a2c408198dd7 (diff) | |
download | UXP-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 'toolkit/mozapps/extensions/internal/GMPProvider.jsm')
-rw-r--r-- | toolkit/mozapps/extensions/internal/GMPProvider.jsm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/toolkit/mozapps/extensions/internal/GMPProvider.jsm b/toolkit/mozapps/extensions/internal/GMPProvider.jsm index 52affa9ba..25651f1b8 100644 --- a/toolkit/mozapps/extensions/internal/GMPProvider.jsm +++ b/toolkit/mozapps/extensions/internal/GMPProvider.jsm @@ -4,9 +4,9 @@ "use strict"; -const Cc = Components.classes; -const Ci = Components.interfaces; -const Cu = Components.utils; +var Cc = Components.classes; +var Ci = Components.interfaces; +var Cu = Components.utils; this.EXPORTED_SYMBOLS = []; @@ -58,6 +58,7 @@ const GMP_PLUGINS = [ optionsURL: "chrome://mozapps/content/extensions/gmpPrefs.xul", isEME: true }]; +XPCOMUtils.defineConstant(this, "GMP_PLUGINS", GMP_PLUGINS); XPCOMUtils.defineLazyGetter(this, "pluginsBundle", () => Services.strings.createBundle("chrome://global/locale/plugins.properties")); |