mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 08:34:11 +01:00
Convert expression closures to arrow syntax.
This commit is contained in:
@@ -73,7 +73,7 @@ var Addressbook = Module("addressbook", {
|
||||
// Now we have to create a new message
|
||||
let args = {};
|
||||
args.to = addresses.map(
|
||||
function (address) "\"" + address[0].replace(/"/g, "") + " <" + address[1] + ">\""
|
||||
address => "\"" + address[0].replace(/"/g, "") + " <" + address[1] + ">\""
|
||||
).join(", ");
|
||||
|
||||
mail.composeNewMail(args);
|
||||
|
||||
Reference in New Issue
Block a user