mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Mass-replace global-scope let with var in Pale Moon and TychoAM
tag #155
This commit is contained in:
parent
7099ae78c1
commit
d5b0bc88af
62 changed files with 120 additions and 119 deletions
|
|
@ -72,7 +72,7 @@ const LOGGER_ID = "addons.repository";
|
|||
|
||||
// Create a new logger for use by the Addons Repository
|
||||
// (Requires AddonManager.jsm)
|
||||
let logger = Log.repository.getLogger(LOGGER_ID);
|
||||
var logger = Log.repository.getLogger(LOGGER_ID);
|
||||
|
||||
// A map between XML keys to AddonSearchResult keys for string values
|
||||
// that require no extra parsing from XML
|
||||
|
|
@ -101,7 +101,7 @@ const INTEGER_KEY_MAP = {
|
|||
};
|
||||
|
||||
// Wrap the XHR factory so that tests can override with a mock
|
||||
let XHRequest = Components.Constructor("@mozilla.org/xmlextras/xmlhttprequest;1",
|
||||
var XHRequest = Components.Constructor("@mozilla.org/xmlextras/xmlhttprequest;1",
|
||||
"nsIXMLHttpRequest");
|
||||
|
||||
function convertHTMLToPlainText(html) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue