Mass-replace global-scope let with var in Pale Moon and TychoAM

tag #155
This commit is contained in:
wolfbeast 2018-04-16 14:47:03 +02:00 • committed by Roy Tam
commit d5b0bc88af
62 changed files with 120 additions and 119 deletions

View file

@ -7,7 +7,7 @@
var browser;
var dialog = {};
var pref = null;
let openLocationModule = {};
var openLocationModule = {};
try {
pref = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefBranch);
@ -16,7 +16,7 @@ try {
}
Components.utils.import("resource:///modules/openLocationLastURL.jsm", openLocationModule);
let gOpenLocationLastURL = new openLocationModule.OpenLocationLastURL(window.opener);
var gOpenLocationLastURL = new openLocationModule.OpenLocationLastURL(window.opener);
function onLoad()
{