1
0
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:
Kris Maglione
2011-09-30 03:26:42 -04:00
parent c96079f52e
commit 4ee26a04ac
6 changed files with 6 additions and 11 deletions

View File

@@ -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) {