mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-25 18:05:46 +01:00
@@ -987,10 +987,10 @@ var Completion = Module("completion", {
|
|||||||
}, this);
|
}, this);
|
||||||
},
|
},
|
||||||
|
|
||||||
addUrlCompleter: function addUrlCompleter(opt, ...args) {
|
addUrlCompleter: function addUrlCompleter(name, description, completer, ...args) {
|
||||||
let completer = Completion.UrlCompleter.apply(null, [opt, ...args]);
|
let completer = Completion.UrlCompleter(name, description, completer);
|
||||||
completer.args = args;
|
completer.args = args;
|
||||||
this.urlCompleters[opt] = completer;
|
this.urlCompleters[name] = completer;
|
||||||
},
|
},
|
||||||
|
|
||||||
autocomplete: curry(function autocomplete(provider, context) {
|
autocomplete: curry(function autocomplete(provider, context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user