1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-15 20:05:45 +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

@@ -282,7 +282,7 @@ var AutoCommands = Module("autocommands", {
};
},
javascript: function () {
JavaScript.setCompleter(autocommands.user.get, [function () Iterator(config.autocommands)]);
JavaScript.setCompleter(AutoCmdHive.prototype.get, [function () Iterator(config.autocommands)]);
},
options: function () {
options.add(["eventignore", "ei"],

View File

@@ -796,7 +796,7 @@ var Mappings = Module("mappings", {
};
},
javascript: function initJavascript(dactyl, modules, window) {
JavaScript.setCompleter([mappings.get, mappings.builtin.get],
JavaScript.setCompleter([Mappings.prototype.get, MapHive.prototype.get],
[
null,
function (context, obj, args) [[m.names, m.description] for (m in this.iterate(args[0]))]