diff --git a/content/addressbook.js b/content/addressbook.js index a9803571..7aba2cee 100644 --- a/content/addressbook.js +++ b/content/addressbook.js @@ -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; } - } + }; }; //}}} diff --git a/content/mail.js b/content/mail.js index 5fdaf50d..6cc5ff8f 100644 --- a/content/mail.js +++ b/content/mail.js @@ -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", ""], "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 () diff --git a/content/ui.js b/content/ui.js index 2ee136c0..8fcfcab5 100644 --- a/content/ui.js +++ b/content/ui.js @@ -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]"; } diff --git a/content/util.js b/content/util.js index e1b17476..de107911 100644 --- a/content/util.js +++ b/content/util.js @@ -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)