1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 09:42:28 +01:00

Fix some minor function formatting faux pas.

This commit is contained in:
Doug Kearns
2009-05-29 14:46:50 +10:00
parent 5e760406ab
commit cd3364197f
5 changed files with 13 additions and 9 deletions

View File

@@ -149,8 +149,10 @@ function Buffer() //{{{
////////////////////// OPTIONS /////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
function getWebNav() {
function call(val, fn) {
function getWebNav()
{
function call(val, fn)
{
try
{
return fn(val);
@@ -182,7 +184,7 @@ function Buffer() //{{{
PlacesUtils.history.setCharsetForURI(getWebNavigation().currentURI, val);
getWebNav().reload(Ci.nsIWebNavigation.LOAD_FLAGS_CHARSET_CHANGE);
}
catch (e) { liberator.reportError(e) }
catch (e) { liberator.reportError(e); }
},
completer: function (context) completion.charset(context),
validator: Option.validateCompleter