mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 06:17:58 +01:00
use object literal syntax rather than explicitly calling the constructor
This commit is contained in:
@@ -678,7 +678,7 @@ liberator.Mail = function () //{{{
|
||||
"Write a new message",
|
||||
function (args, special, count)
|
||||
{
|
||||
var mailargs = new Object();
|
||||
var mailargs = {};
|
||||
mailargs.to = args.arguments.join(", ");
|
||||
mailargs.subject = args["-subject"];
|
||||
mailargs.bcc = args["-bcc"];
|
||||
|
||||
Reference in New Issue
Block a user