1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 04:27:58 +01:00
--HG--
branch : testing
This commit is contained in:
Kris Maglione
2010-08-26 15:18:49 -04:00
11 changed files with 58 additions and 48 deletions

5
common/content/completion.js Normal file → Executable file
View 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));
});