From da5b040fe32254e07999894335d2a42fa5951f02 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 24 Sep 2010 09:08:49 -0400 Subject: [PATCH] Fix :qmarks. --- common/content/quickmarks.js | 4 ++-- common/modules/template.jsm | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/common/content/quickmarks.js b/common/content/quickmarks.js index d806e8ed..099e91f4 100644 --- a/common/content/quickmarks.js +++ b/common/content/quickmarks.js @@ -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))))); } }, { }, { diff --git a/common/modules/template.jsm b/common/modules/template.jsm index 2feb2ab6..f1f9e619 100644 --- a/common/modules/template.jsm +++ b/common/modules/template.jsm @@ -90,15 +90,6 @@ const Template = Module("Template", { // }, - genericTable: function genericTable(items, format) { - completion.listCompleter(function (context) { - context.filterFunc = null; - if (format) - context.format = format; - context.completions = items; - }); - }, - gradient: function (left, right)