1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 09:48:00 +01:00

Get rid of template.map overloading, add standard "usage" template for ex/vi/option

This commit is contained in:
Kris Maglione
2008-10-08 03:41:55 +00:00
parent 10376ecb77
commit 4ff5adcc4e
6 changed files with 26 additions and 41 deletions

View File

@@ -1558,8 +1558,9 @@ liberator.Buffer = function () //{{{
let file = content.document.location.pathname.split("/").pop() || "[No Name]";
let title = content.document.title || "[No Title]";
let info = liberator.template.map("gf",
function (opt) liberator.template.map(pageInfo[opt][0](), function (val) val, ", "),
let info = liberator.template.map("gf", function (opt)
liberator.template.map(pageInfo[opt][0](),
function (val) val, ", "),
", ");
if (liberator.bookmarks.isBookmarked(this.URL))