summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-04-16 14:47:03 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-04-16 14:48:23 +0200
commit931950a880b3550490422b1855c509be10586858 (patch)
tree163b2a63f0ae89ee195c288d6c1e8e4afbb15d86 /toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm
parent4cfe5d84de0b8976f8bc5c005ae12ac3adf8f18a (diff)
downloadUXP-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 'toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm')
-rw-r--r--toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm b/toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm
index fccde9a81..1e7d6b0d8 100644
--- a/toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm
+++ b/toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm
@@ -49,7 +49,7 @@ this.LightweightThemeImageOptimizer = {
Object.freeze(LightweightThemeImageOptimizer);
-let ImageCropper = {
+var ImageCropper = {
_inProgress: {},
getCroppedImageURL:
@@ -119,7 +119,7 @@ let ImageCropper = {
}
};
-let ImageFile = {
+var ImageFile = {
read: function ImageFile_read(aURI, aCallback) {
this._netUtil.asyncFetch2(
aURI,
@@ -158,7 +158,7 @@ let ImageFile = {
XPCOMUtils.defineLazyModuleGetter(ImageFile, "_netUtil",
"resource://gre/modules/NetUtil.jsm", "NetUtil");
-let ImageTools = {
+var ImageTools = {
decode: function ImageTools_decode(aInputStream, aContentType) {
let outParam = {value: null};
@@ -187,7 +187,7 @@ let ImageTools = {
XPCOMUtils.defineLazyServiceGetter(ImageTools, "_imgTools",
"@mozilla.org/image/tools;1", "imgITools");
-let Utils = {
+var Utils = {
createCopy: function Utils_createCopy(aData) {
let copy = {};
for (let [k, v] in Iterator(aData)) {