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:
@@ -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"],
|
||||
|
||||
@@ -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]))]
|
||||
|
||||
Reference in New Issue
Block a user