mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
[Pale-Moon] Issue MoonchildProductions/UXP#1828 - Stop using js expression closures in Pale Moon front-end
Stop using non-standard JS expression closures in Pale Moon front-end.
This commit is contained in:
parent
e349f9b884
commit
264752661b
28 changed files with 244 additions and 149 deletions
|
|
@ -50,7 +50,10 @@ var gSyncSetup = {
|
|||
server: false
|
||||
},
|
||||
|
||||
get _remoteSites() [Weave.Service.serverURL, RECAPTCHA_DOMAIN],
|
||||
get _remoteSites() {
|
||||
return [Weave.Service.serverURL, RECAPTCHA_DOMAIN];
|
||||
},
|
||||
|
||||
|
||||
get _usingMainServers() {
|
||||
if (this._settingUpNew)
|
||||
|
|
@ -78,7 +81,7 @@ var gSyncSetup = {
|
|||
});
|
||||
};
|
||||
addRem(true);
|
||||
window.addEventListener("unload", function() addRem(false), false);
|
||||
window.addEventListener("unload", () => addRem(false), false);
|
||||
|
||||
window.setTimeout(function() {
|
||||
// Force Service to be loaded so that engines are registered.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue