mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 06:17:58 +01:00
add missing semicolons
This commit is contained in:
@@ -118,7 +118,7 @@ liberator.Addressbook = function () //{{{
|
||||
|
||||
if (res.args.length == 0)
|
||||
{
|
||||
liberator.echoerr("E474: Invalid argument")
|
||||
liberator.echoerr("E474: Invalid argument");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -227,7 +227,7 @@ liberator.Addressbook = function () //{{{
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}; //}}}
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ liberator.Mail = function () //{{{
|
||||
else if (eventType == "RenameCompleted") { }
|
||||
else if (eventType == "JunkStatusChanged") { }*/
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
var mailSession = Components.classes[mailSessionContractID]
|
||||
.getService(Components.interfaces.nsIMsgMailSession);
|
||||
@@ -243,7 +243,7 @@ liberator.Mail = function () //{{{
|
||||
// TODO: change to "t" probably
|
||||
liberator.mappings.add(modes, ["x"],
|
||||
"Select thread",
|
||||
function () { gDBView.ExpandAndSelectThreadByIndex(GetThreadTree().currentIndex, false) });
|
||||
function () { gDBView.ExpandAndSelectThreadByIndex(GetThreadTree().currentIndex, false); });
|
||||
|
||||
liberator.mappings.add(modes, ["d", "<Del>"],
|
||||
"Move mail to Trash folder",
|
||||
@@ -455,7 +455,7 @@ liberator.Mail = function () //{{{
|
||||
"Go to next mailbox with unread messages",
|
||||
function (count)
|
||||
{
|
||||
selectUnreadFolder(false, count)
|
||||
selectUnreadFolder(false, count);
|
||||
},
|
||||
{ flags: liberator.Mappings.flags.COUNT });
|
||||
|
||||
@@ -479,7 +479,7 @@ liberator.Mail = function () //{{{
|
||||
"Go to previous mailbox with unread messages",
|
||||
function (count)
|
||||
{
|
||||
selectUnreadFolder(true, count)
|
||||
selectUnreadFolder(true, count);
|
||||
},
|
||||
{ flags: liberator.Mappings.flags.COUNT });
|
||||
|
||||
@@ -751,7 +751,7 @@ liberator.Mail = function () //{{{
|
||||
}
|
||||
}
|
||||
|
||||
params.type = Components.interfaces.nsIMsgCompType.New
|
||||
params.type = Components.interfaces.nsIMsgCompType.New;
|
||||
|
||||
var msgComposeService = Components.classes["@mozilla.org/messengercompose;1"].getService();
|
||||
msgComposeService = msgComposeService.QueryInterface(Components.interfaces.nsIMsgComposeService);
|
||||
@@ -809,7 +809,7 @@ liberator.Mail = function () //{{{
|
||||
newCount += account.getNumUnread(true);
|
||||
}
|
||||
|
||||
return { numUnread: unreadCount, numTotal: totalCount, numNew: newCount }
|
||||
return { numUnread: unreadCount, numTotal: totalCount, numNew: newCount };
|
||||
},
|
||||
|
||||
collapseThread: function ()
|
||||
|
||||
@@ -1290,7 +1290,7 @@ liberator.StatusLine = function () //{{{
|
||||
}
|
||||
else
|
||||
{
|
||||
var matches = url.match(/^chrome:\/\/vimperator\/locale\/(\S+)$/)
|
||||
var matches = url.match(/^chrome:\/\/vimperator\/locale\/(\S+)$/);
|
||||
if (matches && matches[1])
|
||||
url = matches[1] + " [Help]";
|
||||
}
|
||||
|
||||
@@ -138,9 +138,9 @@ liberator.util = { //{{{
|
||||
{
|
||||
var start = "", end = "";
|
||||
if (command instanceof liberator.Command)
|
||||
start = ":"
|
||||
start = ":";
|
||||
else if (command instanceof liberator.Option)
|
||||
start = end = "'"
|
||||
start = end = "'";
|
||||
|
||||
var ret = "";
|
||||
var longHelp = false;
|
||||
@@ -154,7 +154,7 @@ liberator.util = { //{{{
|
||||
if (longHelp)
|
||||
ret += "+";
|
||||
|
||||
ret += "\n"
|
||||
ret += "\n";
|
||||
|
||||
// the usage information for the command
|
||||
var usage = command.names[0];
|
||||
@@ -167,7 +167,7 @@ liberator.util = { //{{{
|
||||
if (usage.length > 15)
|
||||
ret += " +";
|
||||
|
||||
ret += "\n________________________________________________________________________________\n"
|
||||
ret += "\n________________________________________________________________________________\n";
|
||||
|
||||
// the actual help text
|
||||
if (command.description)
|
||||
|
||||
Reference in New Issue
Block a user