mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 09:27:58 +01:00
Add 'javascript' module. Misc fixes along the way.
This commit is contained in:
@@ -872,7 +872,7 @@ const Commands = Module("commands", {
|
||||
},
|
||||
|
||||
completion: function () {
|
||||
completion.setFunctionCompleter(commands.get, [function () ([c.name, c.description] for (c in commands))]);
|
||||
JavaScript.setCompleter(this.get, [function () ([c.name, c.description] for (c in commands))]);
|
||||
|
||||
completion.command = function command(context) {
|
||||
context.title = ["Command"];
|
||||
|
||||
Reference in New Issue
Block a user