diff --git a/content/bookmarks.js b/content/bookmarks.js index d164f676..3218aa69 100644 --- a/content/bookmarks.js +++ b/content/bookmarks.js @@ -180,7 +180,10 @@ vimperator.Bookmarks = function () //{{{ var count = {}; bookmarksService.getBookmarkIdsForURI(uri, count); } - catch (e) { return false; } + catch (e) + { + return false; + } return count.value > 0; }, diff --git a/content/buffers.js b/content/buffers.js index 5f3493a4..e464ed34 100644 --- a/content/buffers.js +++ b/content/buffers.js @@ -563,7 +563,7 @@ vimperator.Buffer = function () //{{{ urlSecurityCheck(data.href, principal, Components.interfaces.nsIScriptSecurityManager.DISALLOW_INHERIT_PRINCIPAL); } - catch (ex) + catch (e) { isFeed = false; } @@ -611,13 +611,13 @@ vimperator.Buffer = function () //{{{ { var cacheEntryDescriptor = httpCacheSession.openCacheEntry(cacheKey, ACCESS_READ, false); } - catch (ex) + catch (e) { try { cacheEntryDescriptor = ftpCacheSession.openCacheEntry(cacheKey, ACCESS_READ, false); } - catch (ex2) { } + catch (e) { } } var pageSize = []; // [0] bytes; [1] kbytes diff --git a/content/commands.js b/content/commands.js index 3e306c51..056696b8 100644 --- a/content/commands.js +++ b/content/commands.js @@ -696,9 +696,9 @@ vimperator.Commands = function () //{{{ default: vimperator.echoerr("Dialog '" + args + "' not available"); } } - catch (err) + catch (e) { - vimperator.echoerr("Error opening '" + args + "': " + err); + vimperator.echoerr("Error opening '" + args + "': " + e); } }, {