mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-18 19:15:45 +01:00
Fix more function formatting faux pas as per the style guide.
This commit is contained in:
@@ -724,10 +724,8 @@ function Options() //{{{
|
||||
if (!/keypress/.test(popupAllowedEvents))
|
||||
{
|
||||
storePreference("dom.popup_allowed_events", popupAllowedEvents + " keypress");
|
||||
liberator.registerObserver("shutdown", function ()
|
||||
{
|
||||
if (loadPreference("dom.popup_allowed_events", "")
|
||||
== popupAllowedEvents + " keypress")
|
||||
liberator.registerObserver("shutdown", function () {
|
||||
if (loadPreference("dom.popup_allowed_events", "") == popupAllowedEvents + " keypress")
|
||||
storePreference("dom.popup_allowed_events", popupAllowedEvents);
|
||||
});
|
||||
}
|
||||
@@ -919,8 +917,7 @@ function Options() //{{{
|
||||
/////////////////////////////////////////////////////////////////////////////{{{
|
||||
|
||||
// TODO: Does this belong elsewhere?
|
||||
liberator.registerObserver("load_completion", function ()
|
||||
{
|
||||
liberator.registerObserver("load_completion", function () {
|
||||
completion.setFunctionCompleter(options.get, [function () ([o.name, o.description] for (o in options))]);
|
||||
completion.setFunctionCompleter([options.getPref, options.safeSetPref, options.setPref, options.resetPref, options.invertPref],
|
||||
[function () services.get("pref")
|
||||
|
||||
Reference in New Issue
Block a user