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:
@@ -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)))));
|
||||
}
|
||||
}, {
|
||||
}, {
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user