1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 12:14:11 +01:00

use 'lambda' notation where appropriate

This commit is contained in:
Doug Kearns
2008-09-23 10:06:04 +00:00
parent 1d139b05e8
commit 851d8d8383
16 changed files with 152 additions and 176 deletions

View File

@@ -193,10 +193,9 @@ liberator.Addressbook = function () //{{{
{
// Now we have to create a new message
var args = {};
args.to = addresses.map(function (address)
{
return "\"" + address[0].replace(/"/g, "") + " <" + address[1] + ">\"";
}).join(", ");
args.to = addresses.map(
function (address) "\"" + address[0].replace(/"/g, "") + " <" + address[1] + ">\""
).join(", ");
liberator.mail.composeNewMail(args);
}