mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 03:45:47 +01:00
Fix some early instantiation.
This commit is contained in:
@@ -1622,9 +1622,9 @@ var Commands = Module("commands", {
|
||||
javascript: function initJavascript(dactyl, modules, window) {
|
||||
const { JavaScript, commands } = modules;
|
||||
|
||||
JavaScript.setCompleter([commands.user.get, commands.user.remove],
|
||||
JavaScript.setCompleter([CommandHive.prototype.get, CommandHive.prototype.remove],
|
||||
[function () [[c.names, c.description] for (c in this)]]);
|
||||
JavaScript.setCompleter([commands.get],
|
||||
JavaScript.setCompleter([Commands.prototype.get],
|
||||
[function () [[c.names, c.description] for (c in this.iterator())]]);
|
||||
},
|
||||
mappings: function initMappings(dactyl, modules, window) {
|
||||
|
||||
Reference in New Issue
Block a user