mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 08:57:59 +01:00
normalise catch block parameter names
This commit is contained in:
@@ -180,7 +180,10 @@ vimperator.Bookmarks = function () //{{{
|
|||||||
var count = {};
|
var count = {};
|
||||||
bookmarksService.getBookmarkIdsForURI(uri, count);
|
bookmarksService.getBookmarkIdsForURI(uri, count);
|
||||||
}
|
}
|
||||||
catch (e) { return false; }
|
catch (e)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return count.value > 0;
|
return count.value > 0;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -563,7 +563,7 @@ vimperator.Buffer = function () //{{{
|
|||||||
urlSecurityCheck(data.href, principal,
|
urlSecurityCheck(data.href, principal,
|
||||||
Components.interfaces.nsIScriptSecurityManager.DISALLOW_INHERIT_PRINCIPAL);
|
Components.interfaces.nsIScriptSecurityManager.DISALLOW_INHERIT_PRINCIPAL);
|
||||||
}
|
}
|
||||||
catch (ex)
|
catch (e)
|
||||||
{
|
{
|
||||||
isFeed = false;
|
isFeed = false;
|
||||||
}
|
}
|
||||||
@@ -611,13 +611,13 @@ vimperator.Buffer = function () //{{{
|
|||||||
{
|
{
|
||||||
var cacheEntryDescriptor = httpCacheSession.openCacheEntry(cacheKey, ACCESS_READ, false);
|
var cacheEntryDescriptor = httpCacheSession.openCacheEntry(cacheKey, ACCESS_READ, false);
|
||||||
}
|
}
|
||||||
catch (ex)
|
catch (e)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
cacheEntryDescriptor = ftpCacheSession.openCacheEntry(cacheKey, ACCESS_READ, false);
|
cacheEntryDescriptor = ftpCacheSession.openCacheEntry(cacheKey, ACCESS_READ, false);
|
||||||
}
|
}
|
||||||
catch (ex2) { }
|
catch (e) { }
|
||||||
}
|
}
|
||||||
|
|
||||||
var pageSize = []; // [0] bytes; [1] kbytes
|
var pageSize = []; // [0] bytes; [1] kbytes
|
||||||
|
|||||||
@@ -696,9 +696,9 @@ vimperator.Commands = function () //{{{
|
|||||||
default: vimperator.echoerr("Dialog '" + args + "' not available");
|
default: vimperator.echoerr("Dialog '" + args + "' not available");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (e)
|
||||||
{
|
{
|
||||||
vimperator.echoerr("Error opening '" + args + "': " + err);
|
vimperator.echoerr("Error opening '" + args + "': " + e);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user