mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 05:54:12 +01:00
Clean up some old-style iterator gunk.
This commit is contained in:
@@ -275,11 +275,11 @@ var AutoCommands = Module("autocommands", {
|
||||
},
|
||||
completion: function initCompletion() {
|
||||
completion.autocmdEvent = function autocmdEvent(context) {
|
||||
context.completions = Iterator(config.autocommands);
|
||||
context.completions = iter(config.autocommands);
|
||||
};
|
||||
},
|
||||
javascript: function initJavascript() {
|
||||
JavaScript.setCompleter(AutoCmdHive.prototype.get, [() => Iterator(config.autocommands)]);
|
||||
JavaScript.setCompleter(AutoCmdHive.prototype.get, [() => iter(config.autocommands)]);
|
||||
},
|
||||
options: function initOptions() {
|
||||
options.add(["eventignore", "ei"],
|
||||
|
||||
Reference in New Issue
Block a user