mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 04:27:58 +01:00
Merge.
--HG-- branch : testing
This commit is contained in:
5
common/content/completion.js
Normal file → Executable file
5
common/content/completion.js
Normal file → Executable file
@@ -696,8 +696,11 @@ const Completion = Module("completion", {
|
||||
if (skip)
|
||||
context.advance(skip[0].length);
|
||||
|
||||
if (complete == null)
|
||||
complete = options["complete"];
|
||||
|
||||
// Will, and should, throw an error if !(c in opts)
|
||||
Array.forEach(complete || options["complete"], function (c) {
|
||||
Array.forEach(complete, function (c) {
|
||||
let completer = completion.urlCompleters[c];
|
||||
context.fork.apply(context, [c, 0, completion, completer.completer].concat(completer.args));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user