diff --git a/common/content/bookmarks.js b/common/content/bookmarks.js index c7ea97b0..c4e2da06 100644 --- a/common/content/bookmarks.js +++ b/common/content/bookmarks.js @@ -647,7 +647,8 @@ function Bookmarks() //{{{ try { charset = PlacesUtils.history.getCharsetForURI(makeURI(shortcutURL)); - } catch (e) { } + } + catch (e) {} } var encodedParam = ""; if (charset) diff --git a/common/content/buffer.js b/common/content/buffer.js index 916326dc..fab9ddc9 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -610,7 +610,8 @@ function Buffer() //{{{ .QueryInterface(Ci.nsIInterfaceRequestor) .getInterface(Ci.nsIDOMWindowUtils) .getDocumentMetadata("content-disposition"); - } catch (e) {} + } + catch (e) {} window.internalSave(doc.location.href, doc, null, contentDisposition, doc.contentType, false, null, chosenData, doc.referrer ? diff --git a/common/content/hints.js b/common/content/hints.js index 1ea2e5d6..a333b967 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -269,7 +269,7 @@ function Hints() //{{{ return [leftpos + curleft, toppos + curtop]; } } - catch (e) {} //badly formed document, or shape == "default" in which case we don't move the hint + catch (e) {} // badly formed document, or shape == "default" in which case we don't move the hint return [leftpos, toppos]; } diff --git a/muttator/content/config.js b/muttator/content/config.js index f893497a..318c31ef 100644 --- a/muttator/content/config.js +++ b/muttator/content/config.js @@ -54,11 +54,11 @@ const config = { //{{{ get visualbellWindow() document.getElementById(this.mainWindowID), styleableChrome: "chrome://messenger/content/messenger.xul,chrome://messenger/content/messengercompose/messengercompose.xul", - autocommands: [["FolderLoaded", "Triggered after switching folders in Thunderbird"], - ["PageLoadPre", "Triggered after a page load is initiated"], - ["PageLoad", "Triggered when a page gets (re)loaded/opened"], - ["MuttatorEnter", "Triggered after Thunderbird starts"], - ["MuttatorLeave", "Triggered before exiting Thunderbird"], + autocommands: [["FolderLoaded", "Triggered after switching folders in Thunderbird"], + ["PageLoadPre", "Triggered after a page load is initiated"], + ["PageLoad", "Triggered when a page gets (re)loaded/opened"], + ["MuttatorEnter", "Triggered after Thunderbird starts"], + ["MuttatorLeave", "Triggered before exiting Thunderbird"], ["MuttatorLeavePre", "Triggered before exiting Thunderbird"]], dialogs: [ @@ -120,12 +120,6 @@ const config = { //{{{ // they are sorted by relevance, not alphabetically helpFiles: ["intro.html", "version.html"], - /* "tutorial.html", "starting.html", - "browsing.html", "buffer.html", "pattern.html", "options.html", - "tabs.html", "hints.html", "map.html", "eval.html", "marks.html", - "repeat.html", "autocommands.html", "print.html", "developer.html", - "various.html" - ],*/ get ignoreKeys() { delete this.ignoreKeys; @@ -133,7 +127,7 @@ const config = { //{{{ "": modes.NORMAL | modes.INSERT, "": modes.NORMAL | modes.INSERT, "": modes.NORMAL | modes.INSERT, - "": modes.NORMAL | modes.INSERT, + "": modes.NORMAL | modes.INSERT } }, @@ -164,7 +158,7 @@ const config = { //{{{ scripts: [ "addressbook.js", "mail.js", - "tabs.js", + "tabs.js" ], init: function () diff --git a/xulmus/content/config.js b/xulmus/content/config.js index 8bb90079..ebcc8fd8 100644 --- a/xulmus/content/config.js +++ b/xulmus/content/config.js @@ -467,8 +467,8 @@ const config = { //{{{ "Redraw the screen", function () { - let wu = window.QueryInterface(Ci.nsIInterfaceRequestor). - getInterface(Ci.nsIDOMWindowUtils); + let wu = window.QueryInterface(Ci.nsIInterfaceRequestor) + .getInterface(Ci.nsIDOMWindowUtils); wu.redraw(); modes.show(); },