[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:
win7-7 2022-04-23 14:51:43 +03:00 • committed by roytam1
commit 264752661b
28 changed files with 244 additions and 149 deletions

View file

@ -781,7 +781,7 @@ nsDefaultCommandLineHandler.prototype = {
} catch(e) {}
}
var URLlist = urilist.filter(shouldLoadURI).map(function(u) u.spec);
var URLlist = urilist.filter(shouldLoadURI).map(u => u.spec);
if (URLlist.length) {
openWindow(null, gBrowserContentHandler.chromeURL, "_blank",
"chrome,dialog=no,all" + gBrowserContentHandler.getFeatures(cmdLine),