mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 06:38:12 +01:00
use object literal syntax rather than explicitly calling the constructor
This commit is contained in:
@@ -192,7 +192,7 @@ liberator.Addressbook = function () //{{{
|
||||
if (newMail)
|
||||
{
|
||||
// Now we have to create a new message
|
||||
var args = new Object();
|
||||
var args = {};
|
||||
args.to = addresses.map(function (address)
|
||||
{
|
||||
return "\"" + address[0].replace(/"/g, "") + " <" + address[1] + ">\"";
|
||||
|
||||
Reference in New Issue
Block a user