1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-03 23:15:45 +01:00

Fix :qmarks.

This commit is contained in:
Kris Maglione
2010-09-24 09:08:49 -04:00
parent 980fbd32d6
commit da5b040fe3
2 changed files with 2 additions and 11 deletions

View File

@@ -90,8 +90,8 @@ const QuickMarks = Module("quickmarks", {
dactyl.assert(marks.length >= 0, "E283: No QuickMarks matching " + filter.quote());
}
let items = [[mark, this._qmarks.get(mark)] for ([k, mark] in Iterator(marks))];
template.genericTable(items, { title: ["QuickMark", "URL"] });
commandline.commandOutput(template.tabular(["QuickMark", "URL"], [],
([mark, quickmarks._qmarks.get(mark)] for ([k, mark] in Iterator(marks)))));
}
}, {
}, {

View File

@@ -90,15 +90,6 @@ const Template = Module("Template", {
// </e4x>
},
genericTable: function genericTable(items, format) {
completion.listCompleter(function (context) {
context.filterFunc = null;
if (format)
context.format = format;
context.completions = items;
});
},
gradient: function (left, right)
<div highlight="Gradient">
<div style="height: 0px">