1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 20:42:27 +01:00

add missing semicolons

This commit is contained in:
Doug Kearns
2008-06-03 15:16:12 +00:00
parent 9ad5135b4e
commit ff132570d3
4 changed files with 13 additions and 13 deletions

View File

@@ -118,7 +118,7 @@ liberator.Addressbook = function () //{{{
if (res.args.length == 0) if (res.args.length == 0)
{ {
liberator.echoerr("E474: Invalid argument") liberator.echoerr("E474: Invalid argument");
return; return;
} }
@@ -227,7 +227,7 @@ liberator.Addressbook = function () //{{{
} }
return true; return true;
} }
} };
}; //}}} }; //}}}

View File

@@ -81,7 +81,7 @@ liberator.Mail = function () //{{{
else if (eventType == "RenameCompleted") { } else if (eventType == "RenameCompleted") { }
else if (eventType == "JunkStatusChanged") { }*/ else if (eventType == "JunkStatusChanged") { }*/
} }
} };
var mailSession = Components.classes[mailSessionContractID] var mailSession = Components.classes[mailSessionContractID]
.getService(Components.interfaces.nsIMsgMailSession); .getService(Components.interfaces.nsIMsgMailSession);
@@ -243,7 +243,7 @@ liberator.Mail = function () //{{{
// TODO: change to "t" probably // TODO: change to "t" probably
liberator.mappings.add(modes, ["x"], liberator.mappings.add(modes, ["x"],
"Select thread", "Select thread",
function () { gDBView.ExpandAndSelectThreadByIndex(GetThreadTree().currentIndex, false) }); function () { gDBView.ExpandAndSelectThreadByIndex(GetThreadTree().currentIndex, false); });
liberator.mappings.add(modes, ["d", "<Del>"], liberator.mappings.add(modes, ["d", "<Del>"],
"Move mail to Trash folder", "Move mail to Trash folder",
@@ -455,7 +455,7 @@ liberator.Mail = function () //{{{
"Go to next mailbox with unread messages", "Go to next mailbox with unread messages",
function (count) function (count)
{ {
selectUnreadFolder(false, count) selectUnreadFolder(false, count);
}, },
{ flags: liberator.Mappings.flags.COUNT }); { flags: liberator.Mappings.flags.COUNT });
@@ -479,7 +479,7 @@ liberator.Mail = function () //{{{
"Go to previous mailbox with unread messages", "Go to previous mailbox with unread messages",
function (count) function (count)
{ {
selectUnreadFolder(true, count) selectUnreadFolder(true, count);
}, },
{ flags: liberator.Mappings.flags.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(); var msgComposeService = Components.classes["@mozilla.org/messengercompose;1"].getService();
msgComposeService = msgComposeService.QueryInterface(Components.interfaces.nsIMsgComposeService); msgComposeService = msgComposeService.QueryInterface(Components.interfaces.nsIMsgComposeService);
@@ -809,7 +809,7 @@ liberator.Mail = function () //{{{
newCount += account.getNumUnread(true); newCount += account.getNumUnread(true);
} }
return { numUnread: unreadCount, numTotal: totalCount, numNew: newCount } return { numUnread: unreadCount, numTotal: totalCount, numNew: newCount };
}, },
collapseThread: function () collapseThread: function ()

View File

@@ -1290,7 +1290,7 @@ liberator.StatusLine = function () //{{{
} }
else else
{ {
var matches = url.match(/^chrome:\/\/vimperator\/locale\/(\S+)$/) var matches = url.match(/^chrome:\/\/vimperator\/locale\/(\S+)$/);
if (matches && matches[1]) if (matches && matches[1])
url = matches[1] + " [Help]"; url = matches[1] + " [Help]";
} }

View File

@@ -138,9 +138,9 @@ liberator.util = { //{{{
{ {
var start = "", end = ""; var start = "", end = "";
if (command instanceof liberator.Command) if (command instanceof liberator.Command)
start = ":" start = ":";
else if (command instanceof liberator.Option) else if (command instanceof liberator.Option)
start = end = "'" start = end = "'";
var ret = ""; var ret = "";
var longHelp = false; var longHelp = false;
@@ -154,7 +154,7 @@ liberator.util = { //{{{
if (longHelp) if (longHelp)
ret += "+"; ret += "+";
ret += "\n" ret += "\n";
// the usage information for the command // the usage information for the command
var usage = command.names[0]; var usage = command.names[0];
@@ -167,7 +167,7 @@ liberator.util = { //{{{
if (usage.length > 15) if (usage.length > 15)
ret += " +"; ret += " +";
ret += "\n________________________________________________________________________________\n" ret += "\n________________________________________________________________________________\n";
// the actual help text // the actual help text
if (command.description) if (command.description)