mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:27:58 +01:00
Add some standard JS function completers for the liberator API
This commit is contained in:
@@ -847,6 +847,12 @@ function Options() //{{{
|
||||
////////////////////// PUBLIC SECTION //////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////{{{
|
||||
|
||||
// TODO: Does this belong elsewhere?
|
||||
liberator.registerObserver("load_completion", function ()
|
||||
{
|
||||
completion.setFunctionCompleter(options.get, [function () ([o.name, o.description] for (o in options))]);
|
||||
});
|
||||
|
||||
return {
|
||||
|
||||
OPTION_SCOPE_GLOBAL: 1,
|
||||
|
||||
Reference in New Issue
Block a user