mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-18 13:15:46 +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());
|
dactyl.assert(marks.length >= 0, "E283: No QuickMarks matching " + filter.quote());
|
||||||
}
|
}
|
||||||
|
|
||||||
let items = [[mark, this._qmarks.get(mark)] for ([k, mark] in Iterator(marks))];
|
commandline.commandOutput(template.tabular(["QuickMark", "URL"], [],
|
||||||
template.genericTable(items, { title: ["QuickMark", "URL"] });
|
([mark, quickmarks._qmarks.get(mark)] for ([k, mark] in Iterator(marks)))));
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
@@ -90,15 +90,6 @@ const Template = Module("Template", {
|
|||||||
// </e4x>
|
// </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)
|
gradient: function (left, right)
|
||||||
<div highlight="Gradient">
|
<div highlight="Gradient">
|
||||||
<div style="height: 0px">
|
<div style="height: 0px">
|
||||||
|
|||||||
Reference in New Issue
Block a user